Metafile::GetMetafileHeader(HMETAFILE,constWmfPlaceableFileHeader*,MetafileHeader*) method (gdiplusheaders.h)
The Metafile::GetMetafileHeader method gets the metafile header of this metafile.
Syntax
Status GetMetafileHeader(
HMETAFILE hWmf,
const WmfPlaceableFileHeader *wmfPlaceableFileHeader,
MetafileHeader *header
);
Parameters
hWmf
Window handle to a metafile.
wmfPlaceableFileHeader
Pointer to a placeable metafile header.
header
Pointer to a MetafileHeader object that receives the copy of the metafile header.
Return value
Type: Status
If the method succeeds, it returns Ok, which is an element of the Status enumeration.
If the method fails, it returns one of the other elements of the Status enumeration.
Requirements
Requirement | Value |
---|---|
Header | gdiplusheaders.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for