OEMStartDoc function (printoem.h)

The OEMStartDoc function is called by GDI when it is ready to start sending a document to the driver for rendering.

Syntax

BOOL OEMStartDoc(
       SURFOBJ *pso,
  [in] PWSTR   pwszDocName,
       DWORD   dwJobId
);

Parameters

pso

Defines the SURFOBJ parameter pso.

[in] pwszDocName

Defines the PWSTR parameter pwszDocName.

dwJobId

Defines the DWORD parameter dwJobId.

Return value

Returns a BOOL value.

Requirements

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