ID2D1GdiMetafileSink1::ProcessRecord method (d2d1_3.h)

Provides access to metafile records, including their type, data, and flags.

Syntax

HRESULT ProcessRecord(
                 DWORD      recordType,
  [in, optional] const void *recordData,
                 DWORD      recordDataSize,
                 UINT32     flags
);

Parameters

recordType

Type: DWORD

The type of metafile record being processed. Please see MS-EMF and MS-EMFPLUS for a list of record types.

[in, optional] recordData

Type: const void*

The data contained in this record. Please see MS-EMF and MS-EMFPLUS for information on record data layouts.

recordDataSize

Type: UINT

TThe size of the data pointed to by recordData.

flags

Type: UINT32

The set of flags set for this record. Please see MS-EMF and MS-EMFPLUS for information on record flags.

Return value

Type: HRESULT

S_OK if successful, otherwise a failure HRESULT.

Remarks

For details on the EMF and EMF+ formats, please see Microsoft technical documents MS-EMF and MS-EMFPLUS.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header d2d1_3.h
DLL D2d1.dll

See also

ID2D1GdiMetafileSink1

[MS-EMFPLUS]: Enhanced Metafile Format Plus Extensions

[MS-EMF]: Enhanced Metafile Format