saptechnique

Better late than never. - 郭富

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

;-----------------------------data types----------------------------------
%define ACHAR          BYTE   ;ansi character
%define ATOM           DWORD ;string atom
%define BOOL           DWORD ;boolean variable
%define COLORREF       DWORD ;rgb color
%define DWORDLONG      QWORD ;long double word
%define GLOBALHANDLE   DWORD ;global handle
%define HACCEL         DWORD ;accelerator handle
%define HANDLE         DWORD ;unspecified handle
%define HBITMAP        DWORD ;bitmap handle
%define HBRUSH         DWORD ;brush handle
%define HCOLORSPACE    DWORD ;color space handle
%define HCURSOR        DWORD ;cursor handle
%define HDC            DWORD ;device context handle
%define HDWP           DWORD ;defer win pos handle
%define HENHMETAFILE   DWORD ;enh. metafile handle
%define HFILE          DWORD ;file handle
%define HFONT          DWORD ;font handle
%define HGLOBAL        DWORD ;global handle
%define HHOOK          DWORD ;hook handle
%define HICON          DWORD ;icon handle
%define HINSTANCE      DWORD ;instance handle
%define HINTERNET      DWORD ;internet handle
%define HLOCAL         DWORD ;local handle
%define HMENU          DWORD ;menu handle
%define HMETAFILE      DWORD ;metafile handle
%define HPALETTE       DWORD ;palette handle
%define HPEN           DWORD ;pen handle
%define HRGN           DWORD ;region handle
%define HRSRC          DWORD ;resource handle
%define HSTR           DWORD ;string handle
%define HTASK          DWORD ;task handle
%define HTREEITEM      DWORD ;tree view item handle
%define HWND           DWORD ;window handle
%define INTEGER        DWORD ;standard integer
%define LOCALHANDLE    DWORD ;local handle
%define LONG           DWORD ;long integer
%define LONGINT        DWORD ;long integer
%define LPARAM         DWORD ;long parameter
%define LPBOOL         DWORD ;long ptr to boolean
%define LPBYTE         DWORD ;long ptr to byte
%define LPCSTR         DWORD ;long ptr to string
%define LPCTSTR        DWORD ;long ptr to string
%define LPCVOID        DWORD ;long ptr to buffer
%define LPDWORD        DWORD ;long ptr to dword
%define LPFN           DWORD ;long ptr to function
%define LPINT          DWORD ;long ptr to integer
%define LPLONG         DWORD ;long ptr to long int
%define LPMSG          DWORD ;long pointer to message
%define LPPAINTSTRUCT DWORD ;long pointer to paint structure
%define LPRECT         DWORD ;long pointer to rectangle
%define LPSTR          DWORD ;long ptr to string
%define LPTSTR         DWORD ;long ptr to string
%define LPVOID         DWORD ;long ptr to buffer
%define LPWORD         DWORD ;long ptr to word
%define LRESULT        DWORD ;long result
%define POINTER        DWORD ;pointer to anything
%define PVOID          DWORD ;pointer to buffer
%define SHORTINT       WORD   ;short integer
%define UINT           DWORD ;unsigned integer
%define WCHAR          WORD   ;unicode character
%define WNDPROC        DWORD ;window procedure
%define WPARAM         DWORD ;word parameter

引用地址:http://hi.baidu.com/mettlesome/blog/item/c0e610fa94dcb61fa9d3114f.html

posted on 2011-03-09 23:48  guofu  阅读(550)  评论(0编辑  收藏  举报