OEMEscape function (printoem.h)

The OEMEscape function retrieves information from a device that is not available in a device-independent device driver interface; the particular query depends on the value of the iEsc parameter.

Syntax

ULONG OEMEscape(
        SURFOBJ *pso,
        ULONG   iEsc,
        ULONG   cjIn,
  [in]  PVOID   pvIn,
        ULONG   cjOut,
  [out] PVOID   pvOut
);

Parameters

pso

Defines the SURFOBJ parameter pso.

iEsc

Defines the ULONG parameter iEsc.

cjIn

Defines the ULONG parameter cjIn.

[in] pvIn

Defines the PVOID parameter pvIn.

cjOut

Defines the ULONG parameter cjOut.

[out] pvOut

Defines the PVOID parameter pvOut.

Return value

Returns a ULONG value.

Requirements

Requirement Value
Target Platform Windows
Header printoem.h (include Printoem.h)