UdecxUsbEndpointInitSetEndpointAddress function (udecxusbendpoint.h)
Sets the address of the endpoint in the initialization parameters of the simple endpoint to create.
Syntax
void UdecxUsbEndpointInitSetEndpointAddress(
[in, out] PUDECXUSBENDPOINT_INIT Init,
[in] UCHAR EndpointAddress
);
Parameters
[in, out] Init
A pointer to an UDECXUSBENDPOINT_INIT structure that the client driver retrieved in the previous call to UdecxUsbSimpleEndpointInitAllocate.
[in] EndpointAddress
Specifies the USB-defined endpoint address. The four low-order bits specify the endpoint number. The high-order bit specifies the direction of data flow on this endpoint: 1 for in, 0 for out.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Minimum KMDF version | 1.15 |
Header | udecxusbendpoint.h (include Udecx.h) |
Library | Udecxstub.lib |
IRQL | PASSIVE_LEVEL |