ID2D1GdiMetafileSink1::ProcessRecord method

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

Syntax


HRESULT ProcessRecord(
                       DWORD  recordType,
  [in, optional] const void   *recordData,
                       UINT   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.

recordData [in, optional]

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

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Minimum supported phone

Windows 10 Mobile

Header

D2d1_3.h

DLL

D2d1.dll

See also

ID2D1GdiMetafileSink1
[MS-EMF]: Enhanced Metafile Format
[MS-EMFPLUS]: Enhanced Metafile Format Plus Extensions
ID2D1GdiMetafileSink1

 

 

Show: