PosCxInit - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// poscx.h

NTSTATUS PosCxInit(
  [in] WDFDEVICE         device,
  [in] POS_CX_ATTRIBUTES *posCxAttrPtr
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-poscx-poscxinit)

PosCxInit function

Description

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.

Parameters

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.

Return value

An appropriate NTSTATUS error code that indicates success or failure of the initialization.

See also

POS_CX_ATTRIBUTES

POS_CX_ATTRIBUTES_INIT