---
title: setUnsolicitedStatusNotifyProc
framework: kernel
role: pseudoSymbol
path: kernel/iofirewiresbp2login/1813759-setunsolicitedstatusnotifyproc
---

# setUnsolicitedStatusNotifyProc

Sets the callback to be called on normal command status.

## Declaration

```occ
virtual void setUnsolicitedStatusNotifyProc(
 void *refCon,
 FWSBP2NotifyCallbackcallback ); 
```

## Parameters

- `refCon`: refCon passed to callback.
- `callback`: address of callback method of type FWSBP2NotifyCallback.

## Overview

Overview The supplied callback is called when unsolicited status is recieved. "notificationEvent" in the callback's params will indicate what happened. In this case it will be set to kFWSBP2UnsolicitedStatus. If "len" is non-zero then "message" contains the data written to the status block. Note: any buffers returned by callbacks are only valid for the duration of the login and should not have their contents modified.

## See Also

### Miscellaneous

- [createORB](kernel/iofirewiresbp2login/1813411-createorb.md)
- [enableUnsolicitedStatus](kernel/iofirewiresbp2login/1813441-enableunsolicitedstatus.md)
- [getLoginFlags](kernel/iofirewiresbp2login/1813479-getloginflags.md)
- [getLoginID](kernel/iofirewiresbp2login/1813507-getloginid.md)
- [getMaxCommandBlockSize](kernel/iofirewiresbp2login/1813539-getmaxcommandblocksize.md)
- [getMaxPayloadSize](kernel/iofirewiresbp2login/1813578-getmaxpayloadsize.md)
- [getReconnectTime](kernel/iofirewiresbp2login/1813610-getreconnecttime.md)
- [getRefCon](kernel/iofirewiresbp2login/1813628-getrefcon.md)
- [getStatusNotifyProc](kernel/iofirewiresbp2login/1813642-getstatusnotifyproc.md)
- [getUnsolicitedStatusNotifyProc](kernel/iofirewiresbp2login/1813655-getunsolicitedstatusnotifyproc.md)
- [release](kernel/iofirewiresbp2login/1813662-release.md)
- [ringDoorbell](kernel/iofirewiresbp2login/1813671-ringdoorbell.md)
- [setBusyTimeoutRegisterValue](kernel/iofirewiresbp2login/1813679-setbusytimeoutregistervalue.md)
- [setFetchAgentResetCompletion](kernel/iofirewiresbp2login/1813686-setfetchagentresetcompletion.md)
- [setFetchAgentWriteCompletion](kernel/iofirewiresbp2login/1813693-setfetchagentwritecompletion.md)
- [setLoginCompletion](kernel/iofirewiresbp2login/1813704-setlogincompletion.md)
- [setLoginFlags](kernel/iofirewiresbp2login/1813712-setloginflags.md)
- [setLoginRetryCountAndDelayTime](kernel/iofirewiresbp2login/1813721-setloginretrycountanddelaytime.md)
- [setLogoutCompletion](kernel/iofirewiresbp2login/1813730-setlogoutcompletion.md)
- [setMaxPayloadSize](kernel/iofirewiresbp2login/1813735-setmaxpayloadsize.md)
- [setPassword(IOMemoryDescriptor *)](kernel/iofirewiresbp2login/1813740-setpassword.md)
- [setPassword(void *, UInt32)](kernel/iofirewiresbp2login/1813743-setpassword.md)
- [setReconnectTime](kernel/iofirewiresbp2login/1813747-setreconnecttime.md)
- [setRefCon](kernel/iofirewiresbp2login/1813752-setrefcon.md)
- [setStatusNotifyProc](kernel/iofirewiresbp2login/1813755-setstatusnotifyproc.md)
- [submitFetchAgentReset](kernel/iofirewiresbp2login/1813764-submitfetchagentreset.md)
- [submitLogin](kernel/iofirewiresbp2login/1813766-submitlogin.md)
- [submitLogout](kernel/iofirewiresbp2login/1813770-submitlogout.md)
- [submitORB](kernel/iofirewiresbp2login/1813772-submitorb.md)
