OEMEscape - NtDoc

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

ULONG OEMEscape(
        SURFOBJ *pso,
        ULONG   iEsc,
        ULONG   cjIn,
  [in]  PVOID   pvIn,
        ULONG   cjOut,
  [out] PVOID   pvOut
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-printoem-oemescape)

Description

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.

Parameters

pso

Defines the SURFOBJ parameter pso.

iEsc

Defines the ULONG parameter iEsc.

cjIn

Defines the ULONG parameter cjIn.

pvIn [in]

Defines the PVOID parameter pvIn.

cjOut

Defines the ULONG parameter cjOut.

pvOut [out]

Defines the PVOID parameter pvOut.

Return value

Returns a ULONG value.