unsigned get_metafile_header(handle metafile, unsigned size, meta_header* buffer)
This function obtains the header record of a metafile.
The handle of the metafile.
The size of the buffer pointed to by the next parameter.
A pointer to a buffer to hold the header record. If null is specified, the required buffer size is returned.
|The call failed.
|The required buffer size or the number of bytes transferred to the given buffer.
The header record is always the first record in the metafile.