File:  [RetroPC.NET] / np2 / win9x / win32sub.h
Revision 1.4: download - view: text, annotated - select for diffs
Wed Jan 10 23:43:36 2007 JST (18 years, 9 months ago) by yui
Branches: MAIN
CVS tags: HEAD
support VS.NET 2003


#ifdef STRICT
#define	SUBCLASSPROC	WNDPROC
#else
#define	SUBCLASSPROC	FARPROC
#endif

// for VC6SDK
#if !defined(_WIN64)
#ifndef LONG_PTR
#define	LONG_PTR			LONG
#endif
#ifndef GetWindowLongPtr
#define GetWindowLongPtr	GetWindowLong
#endif
#ifndef SetWindowLongPtr
#define SetWindowLongPtr	SetWindowLong
#endif
#ifndef GWLP_WNDPROC
#define GWLP_WNDPROC		GWL_WNDPROC
#endif
#ifndef GWLP_HINSTANCE
#define GWLP_HINSTANCE		GWL_HINSTANCE
#endif
#ifndef GWLP_HWNDPARENT
#define GWLP_HWNDPARENT		GWL_HWNDPARENT
#endif
#ifndef GWLP_USERDATA
#define GWLP_USERDATA		GWL_USERDATA
#endif
#ifndef GWLP_ID
#define GWLP_ID				GWL_ID
#endif
#endif

#define	LOADSTRING			LoadString

#ifdef __cplusplus
extern "C" {
#endif

void __msgbox(const char *title, const char *msg);
int loadstring2(HINSTANCE hInstance, UINT uID,
										LPTSTR lpBuffer, int nBufferMax);

#ifdef __cplusplus
}
#endif


RetroPC.NET-CVS <cvs@retropc.net>