public ushort SetMetaFileBits(ushort handle) { if (handle == 0) { return(0); } // Get size of global allocation uint size = _machine.GlobalHeap.Size(handle); // Get pointer var hp = _machine.GlobalHeap.GetHeapPointer(BitUtils.MakeDWord(0, handle), false); var hEnhMetaFile = SetMetaFileBitsEx(size, hp); return(HENHMETAFILE.To16(hEnhMetaFile)); }
public static ushort To16(HENHMETAFILE hObj) { return(Map.To16(hObj.value)); }
public static extern bool DeleteMetaFile([Destroyed] HENHMETAFILE hMetaFile);
public static extern bool PlayMetaFile(HDC hDC, HENHMETAFILE hMetaFile);