home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
netds
/
ras
/
rasberry
/
win16ext.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-10-05
|
755b
|
23 lines
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (C) 1993-1997 Microsoft Corporation. All Rights Reserved.
//
// PURPOSE: Defines additions to windows.h included in WIN32, but not
// in win16.
#include <ver.h>
// Windows NT defines APIENTRY, but 3.x doesn't
#define APIENTRY far pascal
// Windows 3.x uses a FARPROC for dialogs
#define DLGPROC FARPROC
// Windows NT defines the following in windowsx.h
#define GET_WM_COMMAND_ID(w,l) (w)
#define GET_WM_COMMAND_CMD(w,l) HIWORD(l)
#define GET_WM_COMMAND_HWND(w,l) LOWORD(l)