#include "BIJPEG.H"
int CALLBACK GetJPEGDimensions( INT_PTR nFile,
LPBITMAPINFOHEADER lpBi)
Description
Fills a BITMAPINFOHEADER structure based on the information in the corresponding information from the JPEG file given by a file handle.
Parameters
|
INT_PTR |
nFile |
Handle to an opened file. |
||
|
LPBITMAPINFOHEADER |
lpBi |
Pointer to a BITMAPINFOHEADER structure. |
||
Return values
Returns 0 on success, error code if failed.
Requirements
Header : Declared in BiJpeg.h; include BiJpeg.h.
Library : Use BiJpeg.lib.
DLLs : BiJpeg.dll.