title: CreateEnhMetaFile and PlayEnhMetaFile result in blank EMF document
body: <p>I am trying to replay an existing EMF file into another one and change some of the records. For starters i wanted to replay the whole document into another one but the resulting document is blank and the resolution is much smaller then the original.</p>
  
  <pre><code>HENHMETAFILE hEmf = GetEnhMetaFile(_T("test.emf"));
  
  ENHMETAHEADER emfHeader;
  GetEnhMetaFileHeader(hEmf, 256, &amp;emfHeader);
  
  RECT rcFrame;
  memcpy(&amp;rcFrame, &amp;emfHeader.rclFrame, sizeof(RECT));
  
  HDC compressedEmf = CreateEnhMetaFile(NULL, _T("compressed.emf"), &amp;rcFrame, NULL);
  PlayEnhMetaFile(compressedEmf, hEmf, &amp;rcFrame);
  
  
  HENHMETAFILE tmpEMF =  CloseEnhMetaFile(compressedEmf);
  DeleteEnhMetaFile(tmpEMF);
  </code></pre>