OEMDeviceCapabilities function (printoem.h)

Describes the OEMDeviceCapabilities function.

Syntax

DWORD OEMDeviceCapabilities(
  POEMUIOBJ poemuiobj,
  HANDLE    hPrinter,
  PWSTR     pDeviceName,
  WORD      wCapability,
  PVOID     pOutput,
  PDEVMODE  pPublicDM,
  PVOID     pOEMDM,
  DWORD     dwLastResult
);

Parameters

poemuiobj

Defines the POEMUIOBJ parameter poemuiobj.

hPrinter

Defines the HANDLE parameter hPrinter.

pDeviceName

Defines the PWSTR parameter pDeviceName.

wCapability

Defines the WORD parameter wCapability.

pOutput

Defines the PVOID parameter pOutput.

pPublicDM

Defines the PDEVMODE parameter pPublicDM.

pOEMDM

Defines the PVOID parameter pOEMDM.

dwLastResult

Defines the DWORD parameter dwLastResult.

Return value

Returns a DWORD value.

Requirements

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