MYFUNC.H
上传用户:zhang8947
上传日期:2007-01-08
资源大小:1910k
文件大小:2k
- #ifdef __cplusplus
- extern "C" {
- #endif
- BOOL __export FAR PASCAL MyTextOut(
- HDC hdc , int nXStart , int nYStart ,
- LPCSTR lpString , int cbString ) ;
- BOOL __export FAR PASCAL MyExtTextOut(
- HDC hdc , int nXStart , int nYStart ,
- UINT fuOptions , const RECT FAR* lprc ,
- LPCSTR lpString , UINT cbString ,
- int FAR* lpDx ) ;
- int __export FAR PASCAL MyDrawText(
- HDC hdc , /* handle of device context */
- LPCSTR lpsz , /* address of string to draw */
- int cb , /* string length */
- RECT FAR* lprc , /* address of structure with formatting dimensions */
- UINT fuFormat ) ;/* text-drawing flags */
- BOOL __export FAR PASCAL MyGetCharWidth(
- HDC hdc , /* handle of device context */
- UINT uFirstChar, /* first character in range to query */
- UINT uLastChar, /* last character in range to query */
- int FAR* lpnWidths ) ; /* address of buffer for widths */
- BOOL __export FAR PASCAL MyGetCharABCWidths(
- HDC hdc , /* handle of device context */
- UINT uFirstChar, /* first character in range to query */
- UINT uLastChar, /* last character in range to query */
- LPABC lpabc ) ; /* address of buffer for widths */
- DWORD __export FAR PASCAL MyGetTextExtent(
- HDC hdc, /* handle of device context */
- LPCSTR lpszString, /* address of string */
- int cbString ) ; /* number of bytes in string */
- int __export FAR PASCAL MyGetSystemMetrics( int nIndex ) ;
- //BOOL __export FAR PASCAL MyGetTextMetrics(
- // HDC hdc , /* handle of device context */
- // TEXTMETRIC FAR* lptm ) ; /* pointer to structure for font metrics */
- //---------------------------------------------------------------------//
- int GetOneLine( HDC hdc , int nStart , LPCSTR lpsz , int cb ,
- int nRectWidth , UINT fuFormat ) ;
- #ifdef __cplusplus
- }
- #endif