MTPIPRegisterConnectionNotification (Compact 7)
3/12/2014
This function registers or unregisters an event for notification of a pending TCP/IP connection from an MTP initiator.
Syntax
HRESULT MTPIPRegisterConnectionNotification (
HANDLE hEvent
);
Parameters
- hEvent
Handle of the object to wait on when registering for an event. Set to NULL to unregister for pending MTP IP connection events.
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
The event has been successfully registered or unregistered. |
E_FAIL |
An invalid handle was passed in or an internal error occurred. |
See Also
Reference
MTP IP Authentication Functions
MTPIPCONNECTIONINFO
MTPIPGetConnectionData
MTPIPAuthorizeConnection