WinNOFRegisterIndicationSink()
This allows the application to register to receive unsolicited indications.
Syntax
BOOL WINAPI WinNOFRegisterIndicationSink(unsigned short indication_opcode,
unsigned short queue_size,
unsigned short *primary_rc,
unsigned long *secondary_rc);
Parameters
- indication_opcode
- The indication to register for.
- queue_size
- Number of unreceived indications to queue. Zero means use the current value (the initial default value is set to 10). There is only one queue for all indications registered by application.
- primary_rc
- Returned: primary return code
- secondary_rc
- Returned: secondary return code
Returns
The function returns a value indicating whether the registration was successful. If the value is not zero, the registration was successful. If the value is zero, the registration was not successful.
Remarks
Use WinNOFRegisterIndicationSink to register to receive unsolicited indications of type indication_opcode.
An application must issue a WinNOFRegisterIndicationSink for each type of indication it wants to receive.
Note:
See also WinNOFUnregisterIndicationSink() on
page WinNOFUnregisterIndicationSink() and WinNOFGetIndication() on page WinNOFGetIndication().