home *** CD-ROM | disk | FTP | other *** search
- /* J P G D E C . H -----------------------------------------------------*
- * Include-File to be usied in Cunjunction with JPANI.DLL *
- * to use JPANI.DLL as an Import-Library for JPG-Compressed *
- * Bitmap-Data Files *
- * *
- * Dipl. Ing. Bernd Herd *
- * Rudolf-Virchow-Str. 8 *
- * 68642 Bⁿrstadt *
- * Tel. 06206/79222 *
- * EMail: herdsoft@aol.com *
- * *
- * *
- *----------------------------------------------------------------------*/
-
- #ifdef __cplusplus
- extern "C"
- #endif
- HGLOBAL FAR PASCAL THDecJpgDib(LPVOID lpJpgData, DWORD dwBlkSize, DWORD Dummy1, DWORD Dummy2);
-
- /* Usage: Include this File in your Application. with #include "jpgdec.h".
- Use IMPLIB (Delivered with your Compiler) to create an
- Import-Library and include it to your Link-Project.
-
- Parameters:
-
- lpJpgData: Pointer to a Data Block containing the JPG-Compressed Image
- dwBlkSize: Size of this Data Block in Bytes
-
- Dummy1,Dummy2 : Currently not used, reserved for future Defintion Applications should.
- use Zero here.
-
- Returns:
-
- A Handle to a Global memory Block allocated with GlobalAlloc in CF_DIB-Data-Format.
- Use GlobalLock to retrieve a Pointer to BITMAPINFOHEADER or in OWL 2.5
- use TDib ADib(Handle); to Create a TDib-Object from it.
-
- The Return value will be NULL, if the Function does not Succeed.
-
- Note that illegal Input Data may Result in abnormal Program Termination without
- returning from JPDecJpgDib.
- */
-
- #ifndef __LZRES_H
- typedef void FAR *LPLZHEAD;
- #endif
-
-
-
-
- #ifdef __cplusplus
- extern "C"
- #endif
- void FAR PASCAL THGetSize(LPSTR lpJpgData, DWORD dwBlockSize, LPINT Width, LPINT Height);
- /* Usage: JPGetSize informs Application about required Bitmap-Size WITHOUT decompressing the Bitmap
-
- Parameters:
-
- lpJpgData: Pointer to a Data Block containing the JPG-Compressed Image
- dwBlkSize: Size of this Data Block in Bytes
- Width,
- Height : Pointers to Integer-Variables that will contain the Size the Function returns
- */
-
-