LoadGifIntoBitmap  Method

Description         This method tests the validity of a GIF file, then creates a bitmap large enough to contain the GIF image.

Syntax                 lRet = [BIImgFrm.]LoadGifIntoBitmap  FileName nImage Error

Remarks             lRet                         LONGLONG A handle for the loaded bitmap is returned if the function is successful; otherwise a 0 is returned.

                            FileName                LPCTSRT       Filename to load.

nImage                   short                The nth image, or page number, for multi page images.  Numbering is zero based, for example:  Page 2 would be referenced as ‘1’.The n-th image. nImage = 0,1,2...

                            Error                      short*              Error code.

Note:                   This method does not free the Bitmap.  Call the DropBitmap Method to free up the Bitmap