--- np2/win9x/debuguty/viewer.h 2005/02/09 20:11:36 1.4 +++ np2/win9x/debuguty/viewer.h 2007/11/11 07:11:27 1.7 @@ -1,3 +1,4 @@ + #define NP2VIEW_MAX 8 typedef struct { @@ -26,9 +27,9 @@ enum { }; typedef struct { - DWORD type; - DWORD arg; - DWORD size; + UINT32 type; + UINT32 arg; + UINT32 size; void *ptr; } VIEWMEMBUF; @@ -36,10 +37,10 @@ typedef struct { HWND hwnd; VIEWMEMBUF buf1; VIEWMEMBUF buf2; - DWORD pos; - DWORD maxline; - WORD step; - WORD mul; + UINT32 pos; + UINT32 maxline; + UINT16 step; + UINT16 mul; UINT8 alive; UINT8 type; UINT8 lock; @@ -50,14 +51,14 @@ typedef struct { SCROLLINFO si; } NP2VIEW_T; -extern const OEMCHAR np2viewfont[]; +extern const TCHAR np2viewfont[]; extern NP2VIEW_T np2view[NP2VIEW_MAX]; -BOOL viewer_init(HINSTANCE hPreInst); +BOOL viewer_init(HINSTANCE hInstance); void viewer_term(void); -void viewer_open(void); +void viewer_open(HINSTANCE hInstance); void viewer_allclose(void); void viewer_allreload(BOOL force);