Calls to Bar2Dmx are virtually the same as those to Bar2Dm except that the returned handle is that of an Enhanced Metafile. Creation of an enhanced metafile requires a reference device context. This may be NULL - in which case the current device context is used.
LPHANDLE WINAPI Bar2Dmx(HDC hDCref, HANDLE hModule, LPRECT lpRectIn, LPBAR2D bc, LPHANDLE &hmf, LPSTR szPat)
More: