Skip to content

Latest commit

 

History

History
68 lines (53 loc) · 2.92 KB

nf-ufxclient-ufxendpointinitseteventcallbacks.md

File metadata and controls

68 lines (53 loc) · 2.92 KB
UID title description old-location tech.root ms.date keywords 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 f1_keywords topic_type api_type api_location api_name
NF:ufxclient.UfxEndpointInitSetEventCallbacks
UfxEndpointInitSetEventCallbacks function (ufxclient.h)
Initialize a UFXENDPOINT_INIT structure.
buses\ufxendpointinitseteventcallbacks.htm
usbref
05/07/2018
UfxEndpointInitSetEventCallbacks function
UfxEndpointInitSetEventCallbacks, UfxEndpointInitSetEventCallbacks method [Buses], buses.ufxendpointinitseteventcallbacks, ufxclient/UfxEndpointInitSetEventCallbacks
ufxclient.h
Windows
Windows 10
ufxstub.lib
PASSIVE_LEVEL
Windows
UfxEndpointInitSetEventCallbacks
ufxclient/UfxEndpointInitSetEventCallbacks
APIRef
kbSyntax
COM
ufxclient.h
UfxEndpointInitSetEventCallbacks

UfxEndpointInitSetEventCallbacks function

-description

Initialize a UFXENDPOINT_INIT structure.

-parameters

-param EndpointInit [in, out]

Opaque structure passed by UFX in the call to EVT_UFX_DEVICE_ENDPOINT_ADD or EVT_UFX_DEVICE_DEFAULT_ENDPOINT_ADD.

-param Callbacks [in]

Pointer to a UFX_ENDPOINT_CALLBACKS structure.

-remarks

The client driver calls UfxEndpointCreate from its EVT_UFX_DEVICE_ENDPOINT_ADD or EVT_UFX_DEVICE_DEFAULT_ENDPOINT_ADD event callback function in order to create a new endpoint.

The client driver first calls UFX_ENDPOINT_CALLBACKS_INIT to initialize a UFX_ENDPOINT_CALLBACKS structure. Then it calls UfxEndpointCreate with the initialized UFX_ENDPOINT_CALLBACKS structure.

For an code example that shows how to create a UFXENDPOINT object and initialize its context, see the Remarks section of UfxEndpointCreate.