[阅读: 374] 2006-07-07 05:50:37
typedef struct tagCRSRect /*声明一个结构体*/
{
USHORT usLeft;
USHORT usRight;
USHORT usTop;
USHORT usBottom;
}UWCRS_RECT_S;
__declspec(dllimport) LONG UWCRS_GetImageRect( CHAR* szFileIn, CHAR* szFileOut, UWCRS_RECT_S* pstRect );
以下是调用过程
UWCRS_RECT_S stRect;
stRect.usLeft = 0;
stRect.usRight = 99;
stRect.usTop = 0;
stRect.usBottom = 99;
UWCRS_GetImageRect("c:\\A.bmp","c:\tmp.Bmp",&stRect);
弯得下腰干才是成熟,放得下身段才是高手