|
|
Microsoft OS/2 SDK PM 08-08-1988
/*********************************************************************/
/* Windows/PM Cardfile Shared Code */
/* */
/* (c) Copyright Microsoft Corp. 1987,1988 - All Rights Reserved */
/*********************************************************************/
/**************************************************/
/* Standard definitions possibly not in PM files */
/**************************************************/
#ifndef NULL
#define NULL 0
#endif
/**************************************************/
/* Type definitions used for PM binding system */
/**************************************************/
#define WINWORD long
#define DLGRET long
#define DIALOGDEFAULT( a, b, c, d ) \
return( WinDefDlgProc( a, b, MPFROMLONG(c), MPFROMLONG(d) ) )
#define HICON HPOINTER
#define HINST HAB
#define HCURSOR HPOINTER
#define HMENU HWND
#define MSG QMSG
#define LPMSG PQMSG
#define HPEN LHANDLE
typedef struct {
HPS hdc;
WRECT rcPaint;
} PAINTSTRUCT;
typedef PAINTSTRUCT *LPPAINTSTRUCT;
#define HBRUSH long
#define LOGBRUSH long
#define PWNDCLASS int
#define HANDLE LHANDLE
#define DWORD ULONG
#define WORD USHORT
#define FARPROC PFNWP
#define LPSTR PSZ
#define PSTR char *
#define POINT WPOINT
#define RECT WRECT
#define LPRECT PRECTL
#define right xRight
#define left xLeft
#define top yTop
#define bottom yBottom
#define LOWORD(x) LOUSHORT(x)
#define HIWORD(x) HIUSHORT(x)
#define TEXTMETRIC FONTMETRICS
#define LPTEXTMETRIC PFONTMETRICS
#define tmHeight lEmHeight
#define tmExternalLeading lExternalLeading
#define tmAveCharWidth lAveCharWidth
/* The types and constants needed for OpenFile */
typedef struct {
BYTE cBytes;
BYTE fFixedDisk;
USHORT nErrCode;
BYTE reserved[ 4 ];
BYTE szPathName[ 120 ];
} OFSTRUCT;
typedef OFSTRUCT *POFSTRUCT;
typedef OFSTRUCT NEAR *NPOFSTRUCT;
typedef OFSTRUCT FAR *LPOFSTRUCT;
#define OF_REOPEN 0x8000
#define OF_EXIST 0x4000
#define OF_PROMPT 0x2000
#define OF_CREATE 0x1000
#define OF_CANCEL 0x0800
#define OF_VERIFY 0x0400
#define OF_DELETE 0x0200
#define OF_PARSE 0x0100
#define OF_READ 0
#define OF_WRITE 1
#define OF_READWRITE 2
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.