Current News Archived News Search News Discussion Forum Old Forum Install Programs More Downloads... Troubleshooting Source Code Format Specs. Misc. Information Non-SF Stuff Links Small banner for links to this site: |
--- a/grpapi/grpapi_no-lib.cpp
+++ b/grpapi/grpapi_no-lib.cpp
funcDestroyGrp DestroyGrp = 0;\r
funcDrawGrp DrawGrp = 0;\r
funcGetGrpInfo GetGrpInfo = 0;\r
+funcGetGrpFrameInfo GetGrpFrameInfo = 0;\r
funcCreateGrp CreateGrp = 0;\r
funcSetFunctionGetPixel SetFunctionGetPixel = 0;\r
funcSetFunctionSetPixel SetFunctionSetPixel = 0;\r
DestroyGrp = (funcDestroyGrp)GetProcAddress(hGrpApi,"DestroyGrp");\r
DrawGrp = (funcDrawGrp)GetProcAddress(hGrpApi,"DrawGrp");\r
GetGrpInfo = (funcGetGrpInfo)GetProcAddress(hGrpApi,"GetGrpInfo");\r
+ GetGrpFrameInfo = (funcGetGrpFrameInfo)GetProcAddress(hGrpApi,"GetGrpFrameInfo");\r
CreateGrp = (funcCreateGrp)GetProcAddress(hGrpApi,"CreateGrp");\r
SetFunctionGetPixel = (funcSetFunctionGetPixel)GetProcAddress(hGrpApi,"SetFunctionGetPixel");\r
SetFunctionSetPixel = (funcSetFunctionSetPixel)GetProcAddress(hGrpApi,"SetFunctionSetPixel");\r
DestroyGrp = 0;\r
DrawGrp = 0;\r
GetGrpInfo = 0;\r
+ GetGrpFrameInfo = 0;\r
CreateGrp = 0;\r
SetFunctionGetPixel = 0;\r
SetFunctionSetPixel = 0;\r
diff --git a/grpapi/grpapi_no-lib.h b/grpapi/grpapi_no-lib.h
--- a/grpapi/grpapi_no-lib.h
+++ b/grpapi/grpapi_no-lib.h
typedef BOOL (WINAPI* funcDestroyGrp)(HANDLE hGrp);\r
typedef BOOL (WINAPI* funcDrawGrp)(HANDLE hGrp, HDC hdcDest, int nXDest, int nYDest, WORD nFrame, DWORD *dwPalette, DWORD dwFlags, DWORD dwAlpha);\r
typedef BOOL (WINAPI* funcGetGrpInfo)(HANDLE hGrp, GRPHEADER *GrpInfo);\r
+typedef BOOL (WINAPI* funcGetGrpFrameInfo)(HANDLE hGrp, WORD nFrame, DWORD *nLeft, DWORD *nTop, DWORD *nWidth, DWORD *nHeight);\r
extern funcLoadPalette LoadPalette;\r
extern funcLoadGrp LoadGrp;\r
extern funcDestroyGrp DestroyGrp;\r
extern funcDrawGrp DrawGrp;\r
extern funcGetGrpInfo GetGrpInfo;\r
+extern funcGetGrpFrameInfo GetGrpFrameInfo;\r
\r
// A pointer to the raw image data to encode should be passed to lpImageData. The size of\r
// the buffer containing the data should be nFrames * wMaxWidth * wMaxHeight * sizeof(short)\r
|