WinNOFUnregisterIndicationSink()

This allows the application to stop receiving unsolicited indications.

Syntax

BOOL WINAPI WinNOFUnregisterIndicationSink(unsigned short indication_opcode,
                                           unsigned short *primary_rc,
                                           unsigned long *secondary_rc);
Parameters
indication_opcode
The indication to unregister from.
primary_rc
Returned: primary return code.
secondary_rc
Returned: secondary return code.

Returns

The function returns a value indicating whether the unregistration was successful. If the value is not zero, the unregistration was successful. If the value is zero, the unregistration was not successful.

Remarks

Use WinNOFUnregisterIndicationSink to stop receiving unsolicited indications of type indication_opcode.

An application must issue a WinNOFUnregisterIndicationSink for each type of indication it wants to stop receiving.