Metafile::GetMetafileHeader(HMETAFILE,constWmfPlaceableFileHeader*,MetafileHeader*) method (gdiplusheaders.h)
The Metafile::GetMetafileHeader method gets the metafile header of this metafile.
Status GetMetafileHeader(
HMETAFILE hWmf,
const WmfPlaceableFileHeader *wmfPlaceableFileHeader,
MetafileHeader *header
);
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.
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.
Requirement | Value |
---|---|
Header | gdiplusheaders.h |