1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
16 #define NULL ((void *)0)
19 /* these are just dummy values to prevent the compiler from complaining */
20 #define VALUE_START_VB 100
21 #define VALUE_START_VB_KEY 200
22 #define VALUE_START_DD 300
23 #define VALUE_START_DD_ERR 400
24 #define VALUE_START_DS 500
26 #define vbPicTypeBitmap (VALUE_START_VB + 1)
27 #define vbSrcCopy (VALUE_START_VB + 2)
28 #define vbTwips (VALUE_START_VB + 3)
29 #define vbPixels (VALUE_START_VB + 4)
30 #define vbPRORPortrait (VALUE_START_VB + 5)
31 #define vbPRORLandscape (VALUE_START_VB + 6)
32 #define vbDirectory (VALUE_START_VB + 7)
34 #define vbKeySpace (VALUE_START_VB_KEY + 1)
35 #define vbKeyLeft (VALUE_START_VB_KEY + 2)
36 #define vbKeyRight (VALUE_START_VB_KEY + 3)
37 #define vbKeyUp (VALUE_START_VB_KEY + 4)
38 #define vbKeyDown (VALUE_START_VB_KEY + 5)
39 #define vbKeyEscape (VALUE_START_VB_KEY + 6)
40 #define vbKeyR (VALUE_START_VB_KEY + 7)
41 #define vbKeyReturn (VALUE_START_VB_KEY + 8)
42 #define vbKeyShift (VALUE_START_VB_KEY + 9)
44 #define DD_OK (VALUE_START_DD + 0)
46 #define DDSD_CAPS (VALUE_START_DD + 1)
47 #define DDSD_WIDTH (VALUE_START_DD + 2)
48 #define DDSD_HEIGHT (VALUE_START_DD + 3)
49 #define DDSCL_NORMAL (VALUE_START_DD + 4)
50 #define DDBLT_WAIT (VALUE_START_DD + 5)
51 #define DDSCAPS_VIDEOMEMORY (VALUE_START_DD + 6)
52 #define DDSCAPS_OFFSCREENPLAIN (VALUE_START_DD + 7)
53 #define DDSCAPS_PRIMARYSURFACE (VALUE_START_DD + 8)
55 #define DDERR_GENERIC (VALUE_START_DD_ERR + 1)
56 #define DDERR_INVALIDCLIPLIST (VALUE_START_DD_ERR + 2)
57 #define DDERR_INVALIDOBJECT (VALUE_START_DD_ERR + 3)
58 #define DDERR_INVALIDPARAMS (VALUE_START_DD_ERR + 4)
59 #define DDERR_INVALIDRECT (VALUE_START_DD_ERR + 5)
60 #define DDERR_NOALPHAHW (VALUE_START_DD_ERR + 6)
61 #define DDERR_NOBLTHW (VALUE_START_DD_ERR + 7)
62 #define DDERR_NOCLIPLIST (VALUE_START_DD_ERR + 8)
63 #define DDERR_NODDROPSHW (VALUE_START_DD_ERR + 9)
64 #define DDERR_NOMIRRORHW (VALUE_START_DD_ERR + 10)
65 #define DDERR_NORASTEROPHW (VALUE_START_DD_ERR + 11)
66 #define DDERR_NOROTATIONHW (VALUE_START_DD_ERR + 12)
67 #define DDERR_NOSTRETCHHW (VALUE_START_DD_ERR + 13)
68 #define DDERR_NOZBUFFERHW (VALUE_START_DD_ERR + 14)
69 #define DDERR_SURFACEBUSY (VALUE_START_DD_ERR + 15)
70 #define DDERR_SURFACELOST (VALUE_START_DD_ERR + 16)
71 #define DDERR_UNSUPPORTED (VALUE_START_DD_ERR + 17)
72 #define DDERR_WASSTILLDRAWING (VALUE_START_DD_ERR + 18)
76 #define DSSCL_PRIORITY (VALUE_START_DS + 1)
77 #define DSBCAPS_CTRLFREQUENCY (VALUE_START_DS + 2)
78 #define DSBCAPS_CTRLPAN (VALUE_START_DS + 3)
79 #define DSBCAPS_CTRLVOLUME (VALUE_START_DS + 4)
80 #define DSBCAPS_STATIC (VALUE_START_DS + 5)
81 #define WAVE_FORMAT_PCM (VALUE_START_DS + 6)
82 #define DSBSTATUS_PLAYING (VALUE_START_DS + 7)
83 #define DSBPLAY_DEFAULT (VALUE_START_DS + 8)
87 #endif /* VB_DEFS_H */