Discussion graphics programming using C++. Valid topics include OpenGL, DirectX, GDI/GDI+, Aero, and more.
Metafiles and GDI function numbers
I am using the EnumerateMetafile function to try and analyse the content of a metafile. One item of information returned by the callback function is "function number", but what is this? I imagine it is the ordinal number of the function in the GDI dll, but based on a Dumpbin dump of GDI32.lib, I find it difficult to relate the function numbers I see to the .lib information. Can someone clarify what this enumeration information means? Thanks Peter
Well, I guess I'll answer it myself then. Specifically for the purpose of Metafiles, WinGDI.h defines symbols for the "Metafile Functions" (function number) and, for Enhanced Metafiles, "Enhanced Metafile Record types".