mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
41 lines
1.0 KiB
/***************************************************************************\*
|
|
*
|
|
* MISC.H
|
|
*
|
|
* Copyright (C) Microsoft Corporation 1988.
|
|
* All Rights reserved.
|
|
*
|
|
*****************************************************************************
|
|
*
|
|
* Module Description: Include file defining basic types and constants.
|
|
* Windows/PM version.
|
|
*
|
|
****************************************************************************/
|
|
|
|
/***************************************************************************\
|
|
*
|
|
* General Defines
|
|
*
|
|
****************************************************************************/
|
|
|
|
typedef struct {
|
|
char rgchName[_MAX_FNAME];
|
|
} FD, *QFD;
|
|
|
|
#define FValidQFD(qfd) ((qfd)->rgchName[0] != '\0')
|
|
|
|
// points and rectangles
|
|
|
|
/*
|
|
* Out of memory macro (OOM). This was all moved from misclyr.h for
|
|
* consistency across platforms.
|
|
*/
|
|
|
|
void FAR PASCAL Error(INT, WORD);
|
|
void FAR PASCAL ErrorHwnd(HWND, INT, WORD);
|
|
#define wERRA_DIE 2
|
|
#define wERRS_OOM 2
|
|
|
|
//** misc ***/
|
|
|
|
#define Unreferenced(var) (var) // Get rid of compiler warnings
|