blob: 0fccdcb2b4f618072f54e22af9639d106f84e78b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* Return values for ValidateMode. */
#define VALMODE_YES 0 /* Mode is good. */
#define VALMODE_NO_WRONGDRV 1 /* Hardware not supported by driver. */
#define VALMODE_NO_NOMEM 2 /* Insufficient video memory. */
#define VALMODE_NO_NODAC 3 /* DAC cannot handle bit depth. */
#define VALMODE_NO_UNKNOWN 4 /* Some other problem. */
/* Structure describing a display mode. */
typedef struct {
UINT dvmSize; /* Size of this struct. */
UINT dvmBpp; /* Mode color depth. */
int dvmXRes; /* Mode X resolution. */
int dvmYRes; /* Mode Y resolution. */
} DISPVALMODE;
/* Must be exported by name from driver. Recommended ordinal is 700. */
extern UINT WINAPI ValidateMode( DISPVALMODE FAR *lpMode );
|