BOOL SHGImport(HWND hwParent, LPVOID SHGData, HGLOBAL FAR * lphDib, HMETAFILE FAR* lphMetaFile, LPMETAFILEHEADER lpMetaFileHeader, HGLOBAL FAR * lphSegInfo)
Does convert a Memory-Block that signifies an SHG-File into a DIB-Bitmap or Meatfile and Segmentation-Information in SEG-File Format. The segmented Hypergraphics in SEG-File format is documented in file SEG.H
Defined in: C:/HLPACCES/SHGIMPOR.C
Parent-Window for error Messages
Input Data Block
Pointer to a DIB-Handle variable. Should be Initialized by the application to NULL and will Contain a DIB-Handle on return if the SHG-File contained a DIB
Metafile-Handle for SHG containing WMF Initialized by the application to NULL and will Contain a HMETAFILE-Handle on return if the SHG-File contained a Metafile
Will be filled with Informations on placeable Metafiles This member is used only if the SHG-File has been built based on a Metafile.
Segmentation Informations in format documented in SEG.H
Segmented Hypergraphic file can either be created based on a Bitmap (DIB) or on a Metafile. Both can be converted one into the other with some restrictions. This conversion code is not itself part of Help Access Library and can be found in our DaVinci package. Be aware that many Metafiles are just wrappers around Bitmaps and using PlayMetafile to transfer these into a Bitmap is NOT the best method of handling.
On Successfull Execution