PosCxMarkPosApp function (poscx.h)

PosCxMarkPosApp marks the open instance as associated or not associated with a point-of-service application.

This optional method provides value if the driver implements multiple device interfaces. It helps to identify which interface is currently in use.

Syntax

NTSTATUS PosCxMarkPosApp(
  [in] WDFDEVICE     device,
  [in] WDFFILEOBJECT fileObject,
  [in] BOOLEAN       isPosApp
);

Parameters

[in] device

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

[in] fileObject

A handle to a framework file object that identifies the caller, usually acquired with WdfRequestGetFileObject.

[in] isPosApp

Specifies if the open instance is associated with a point-of-service application. Set to TRUE if it is associated with a point-of-service application. Otherwise, set to FALSE.

Return value

Possible return values are:

Value Description
STATUS_SUCCESS Completed successfully.
INVALID_PARAMETER The specified fileObject is invalid.

Requirements

Requirement Value
Target Platform Windows
Header poscx.h (include Poscx.h)