~~Title: DVP_LoadBitmapStream~~ DVP_LoadBitmapStream && HBITMAP && As for [[dvp_loadbitmap|DVP_LoadBitmap]]. && hWnd && HWND && This parameter specifies the parent window handle that should be used to display any error messages if appropriate. && lpStream && LPSTREAM && Points to an **IStream** data stream object that you must read from in order to load the image. && lpszName && LPTSTR && Supplies the name of the file, including the full path. && lpVPFileInfo && LPVIEWERPLUGINFILEINFO && This points to a **VIEWERPLUGINFILEINFO** structure that contains the data that you returned in the call to [[.dvp_identifyfile|DVP_IdentifyFile]], including the contents of the **dwPrivateData** field. You can use this field to pass your own data between the [[.dvp_identifyfile|DVP_IdentifyFile]] function and this one. && lpszDesiredSize && LPSIZE && If this parameter is non-NULL and the size it contains is also non-NULL, then it represents the "suggested size" for the image that you are returning. It is quite safe to ignore this field if you are not able to use it to easily control the size of the image that you return. && dwStreamFlags && DWORD && Provides information about the stream object - please see the description of the [[.dvp_identifyfilestream|DVP_IdentifyFileStream]] function for more information about this parameter. The **DVP_LoadBitmapStream** function is called to load a bitmap from a data stream. The **DVP_LoadBitmapStream** function is very similar to the [[.dvp_loadbitmap|DVP_LoadBitmap]] function with the addition of the **lpStream** and **dwStreamFlags** parameters. The **lpStream** parameter points to an **IStream** data stream object that you must read from in order to load the image. The **dwStreamFlags** parameter provides information about this stream object - please see the description of the [[.dvp_identifyfilestream|DVP_IdentifyFileStream]] function for more information about this parameter.