|
|
1.1 root 1: /*
2: * prefer.h
3: */
4:
5:
6: /* MIDIMON.INI entries.
7: */
8: #define INI_FILENAME (LPSTR) "MIDIMON.INI"
9: #define INI_DISPLAYWINDOW (LPSTR) "Display Window"
10: #define INI_X (LPSTR) "x"
11: #define INI_Y (LPSTR) "y"
12: #define INI_W (LPSTR) "w"
13: #define INI_H (LPSTR) "h"
14:
15: /* Default values for preference variables.
16: */
17: #define DEF_X 20
18: #define DEF_Y 20
19: #define DEF_W 481
20: #define DEF_H 256
21:
22:
23: /* Data structure used to specify user preferences.
24: */
25: typedef struct preferences_tag
26: {
27: int iInitialX;
28: int iInitialY;
29: int iInitialW;
30: int iInitialH;
31: DWORD dwInputBufferSize;
32: DWORD dwDisplayBufferSize;
33: int wDisplayFormat;
34: } PREFERENCES;
35: typedef PREFERENCES FAR *LPPREFERENCES;
36:
37:
38: /* Function prototypes
39: */
40: void getPreferences(LPPREFERENCES);
41: void setPreferences(LPPREFERENCES);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.