Platform SDK: Synchronization Manager |
Specified connection has been established.
HRESULT ConnectionMade( BSTR bstrConnection, // Connection name ULONG ulType, // Connection type LPSENS_QOCINFO lpQOCInfo // Pointer to Quality of Connection information );
[id(0x00000001)]
SENS calls this method to notify your application that the specified connection has been established. SENS also provides a pointer to a structure containing Quality of Connection information.
Note This function is only available for TCP/IP connections.
Filtering can be performed on the publisher property ulConnectionMadeType by setting it to either CONNECTION_LAN or CONNECTION_WAN or both. Use IEventSubscription::PutPublisherProperty to set the publisher property.
Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 5 or later).
Windows 95/98: Requires Windows 95 or later (with Internet Explorer 5 or later).
Header: Declared in Sensevts.h.
Library: Use Sensevts.tlb.
ISensNetwork::ConnectionMadeNoQOCInfo, SENS_QOCINFO, About System Event Notification Service, IEventSubscription, IEventSubscription::PutPublisherProperty