GetMetaFile(" meta . wmf "); Want to get the handle of wmf meta in disk file.
Just look up MSDN: GetMetaFile is a function with 16 bits, which is only supported by Windows API with 16 bits. In the 32-bit API, GetEnhMetaFile should be used.
The following table provides a list of functions that only support backward compatibility with 16-bit Windows API:
......
GetMetaFile | is replaced by the GetEnhMetaFile function.