PosCxClose - NtDoc

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

NTSTATUS PosCxClose(
  [in] WDFDEVICE     device,
  [in] WDFFILEOBJECT fileObject
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PosCxClose function

Description

PosCxClose is called to delete an opened PosCx library instance. This function releases the device if the caller is the owner, and cancels pending requests. It should be called from the driver's EVT_WDF_FILE_CLOSE callback.

Parameters

device [in]

A handle to a framework device object that represents the device.

fileObject [in]

A handle to a framework file object that identifies the caller associated with the open instance.

Return value

An appropriate NTSTATUS error code that indicates the close instance completion status.