Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
PosCxInit is called to initialize the PosCx library's internal resources. The resources are tied to the device, and are released when the device goes away.
It is recommended to call this method while handling EvtDeviceAdd.
Syntax
NTSTATUS PosCxInit(
[in] WDFDEVICE device,
[in] POS_CX_ATTRIBUTES *posCxAttrPtr
);
Parameters
[in] device
A handle to a framework device object that represents the device.
[in] posCxAttrPtr
A pointer to a caller-allocated and initialized POS_CX_ATTRIBUTES structure. The structure should be initialized with POS_CX_ATTRIBUTES_INIT.
Return value
An appropriate NTSTATUS error code that indicates success or failure of the initialization.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | poscx.h (include Poscx.h) |