// poscx.h
NTSTATUS PosCxInit(
[in] WDFDEVICE device,
[in] POS_CX_ATTRIBUTES *posCxAttrPtr
);
View the official Windows Driver Kit DDI referenceNo description available.
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.
device [in]A handle to a framework device object that represents the device.
posCxAttrPtr [in]A pointer to a caller-allocated and initialized POS_CX_ATTRIBUTES structure. The structure should be initialized with POS_CX_ATTRIBUTES_INIT.
An appropriate NTSTATUS error code that indicates success or failure of the initialization.