IPrintCoreHelperUni::CreateDefaultGDLSnapshot method (prcomoem.h)

The IPrintCoreHelperUni::CreateDefaultGDLSnapshot method gets a GDL snapshot based on the driver default configuration.

Syntax

HRESULT CreateDefaultGDLSnapshot(
  [in]  DWORD    dwFlags,
  [out] LPSTREAM *ppSnapshotStream
);

Parameters

[in] dwFlags

This parameter is reserved and must be set to zero.

[out] ppSnapshotStream

A pointer to a stream that supplies the XML version of the GDL snapshot.

Return value

IPrintCoreHelperUni::CreateDefaultGDLSnapshot should return S_OK if the operation succeeds. Otherwise, this method should return a standard COM error code.

Requirements

Requirement Value
Target Platform Desktop
Header prcomoem.h (include Prcomoem.h)

See also

IPrintCoreHelperUni

IPrintCoreHelperUni::CreateGDLSnapshot