Skip to content

Latest commit

 

History

History
123 lines (88 loc) · 3.96 KB

nf-sensevts-isensnetwork-connectionmade.md

File metadata and controls

123 lines (88 loc) · 3.96 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:sensevts.ISensNetwork.ConnectionMade
ISensNetwork::ConnectionMade (sensevts.h)
The ConnectionMade method notifies your application that the specified connection has been established.
ConnectionMade
ConnectionMade method [SENS]
ConnectionMade method [SENS]
ISensNetwork interface
ISensNetwork interface [SENS]
ConnectionMade method
ISensNetwork.ConnectionMade
ISensNetwork::ConnectionMade
_zaw_isensnetwork_connectionmade
sens.isensnetwork_connectionmade
sensevts/ISensNetwork::ConnectionMade
syncmgr.isensnetwork_connectionmade
sens\isensnetwork_connectionmade.htm
Sens
3b067a6f-ba4c-4914-aa5b-e0fd7690e75c
12/05/2018
ConnectionMade, ConnectionMade method [SENS], ConnectionMade method [SENS],ISensNetwork interface, ISensNetwork interface [SENS],ConnectionMade method, ISensNetwork.ConnectionMade, ISensNetwork::ConnectionMade, _zaw_isensnetwork_connectionmade, sens.isensnetwork_connectionmade, sensevts/ISensNetwork::ConnectionMade, syncmgr.isensnetwork_connectionmade
sensevts.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Sensevts.tlb
Sens.dll
Windows
19H1
ISensNetwork::ConnectionMade
sensevts/ISensNetwork::ConnectionMade
c++
APIRef
kbSyntax
COM
Sens.dll
ISensNetwork.ConnectionMade

ISensNetwork::ConnectionMade

-description

The ConnectionMade method notifies your application that the specified connection has been established.

Note  This method is only available for TCP/IP connections.
 

-parameters

-param bstrConnection [in]

For WAN connections, the information passed is the connection name. For WAN connections, the connection name is the name of the phone book entry. For LAN connections, the information passed is "LAN connection".

-param ulType [in]

Connection type. This value can be CONNECTION_LAN (0) or CONNECTION_WAN (1).

-param lpQOCInfo [in]

Pointer to the SENS_QOCINFO structure which contains Quality of Connection information.

-returns

This method can return one of these values.

Return code Description
S_OK
Method returned successfully.

-remarks

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.

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.

-see-also

About System Event Notification Service

IEventSubscription

IEventSubscription::PutPublisherProperty

ISensNetwork

ISensNetwork::ConnectionMadeNoQOCInfo

SENS_QOCINFO