File:  [RetroPC.NET] / np2 / win9x / win32sub.h
Revision 1.7: download - view: text, annotated - select for diffs
Sat Dec 29 05:36:40 2007 JST (17 years, 10 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix resources


#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 loadstringresource(UINT uID, LPTSTR lpszBuffer, int nBufferMax);
LPTSTR lockstringresource(LPCTSTR lpcszString);
void unlockstringresource(LPTSTR lpszString);

#ifdef __cplusplus
}
#endif


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