OEMQueryColorProfile function (printoem.h)

Describes the OEMQueryColorProfile function.

Syntax

BOOL OEMQueryColorProfile(
        HANDLE    hPrinter,
        POEMUIOBJ poemuiobj,
        PDEVMODE  pPublicDM,
        PVOID     pOEMDM,
        ULONG     ulQueryMode,
  [out] VOID      *pvProfileData,
  [out] ULONG     *pcbProfileData,
  [out] FLONG     *pflProfileData
);

Parameters

hPrinter

Defines the HANDLE parameter hPrinter.

poemuiobj

Defines the POEMUIOBJ parameter poemuiobj.

pPublicDM

Defines the PDEVMODE parameter pPublicDM.

pOEMDM

Defines the PVOID parameter pOEMDM.

ulQueryMode

Defines the ULONG parameter ulQueryMode.

[out] pvProfileData

Defines the VOID parameter pvProfileData.

[out] pcbProfileData

Defines the ULONG parameter pcbProfileData.

[out] pflProfileData

Defines the FLONG parameter pflProfileData.

Return value

Returns a BOOL value.

Requirements

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