Lines Matching refs:lpvData
1210 BYTE *lpvData = new BYTE[nSize];
1211 if (lpvData) {
1212 DWORD dw = GetMetaFileBitsEx( hmf, nSize, lpvData );
1222 hemf = SetWinMetaFileBits( nSize, lpvData, hDC, &mp );
1227 delete[] lpvData;
1245 BYTE *lpvData = new BYTE[nSize];
1246 if (lpvData) {
1247 DWORD dw = ReadFile( hFile, lpvData, nSize, &nSize, NULL );
1249 if ( ((PAPMHEADER)lpvData)->dwKey == 0x9ac6cdd7l ) {
1252 mp.xExt = ((PAPMHEADER)lpvData)->bbox.Right - ((PAPMHEADER)lpvData)->bbox.Left;
1253 mp.xExt = ( mp.xExt * 2540l ) / (DWORD)(((PAPMHEADER)lpvData)->wInch);
1254 mp.yExt = ((PAPMHEADER)lpvData)->bbox.Bottom - ((PAPMHEADER)lpvData)->bbox.Top;
1255 mp.yExt = ( mp.yExt * 2540l ) / (DWORD)(((PAPMHEADER)lpvData)->wInch);
1260 hemf = SetWinMetaFileBits( nSize, lpvData+sizeof(APMHEADER), hDC, &mp );
1265 delete[] lpvData;