aboutsummaryrefslogtreecommitdiffstats
path: root/ddk/configmg.h
blob: 8dc3112047b1706a154f939cdd460e3ea98d52fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef __CONFIGMG_H__INCLUDED__
#define __CONFIGMG_H__INCLUDED__
/* Definitions for the configuration manager. */

typedef DWORD CONFIGRET;                /* Standardized return value. */

typedef DWORD LOG_CONF;                 /* Logical configuration. */
typedef LOG_CONF FAR *PLOG_CONF;        /* Far pointer to logical configuration. */

typedef DWORD RES_DES;                  /* Resource descriptor. */
typedef RES_DES FAR *PRES_DES;          /* Far pointer to resource descriptor. */

typedef DWORD DEVNODE;                  /* Devnode. */

typedef DWORD ULONG;

typedef void FAR *PFARVOID;

typedef ULONG RESOURCEID;               /* Resource type ID. */
typedef RESOURCEID FAR *PRESOURCEID;    /* Far pointer to resource type ID. */

typedef struct {
    WORD            MD_Count;
    WORD            MD_Type;
    ULONG           MD_Alloc_Base;
    ULONG           MD_Alloc_End;
    WORD            MD_Flags;
    WORD            MD_Reserved;
} MEM_DES, *PMEM_DES;

#define CR_SUCCESS      0
#define ALLOC_LOG_CONF  2
#define ResType_Mem     1

#endif /* __CONFIGMG_H__INCLUDED__ */