ReactOS 0.4.16-dev-1506-g117cd33
restypes.h File Reference
#include <pshpack4.h>
#include <poppack.h>
Include dependency graph for restypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CM_PARTIAL_RESOURCE_DESCRIPTOR
 
struct  _CM_PARTIAL_RESOURCE_LIST
 
struct  _CM_FULL_RESOURCE_DESCRIPTOR
 
struct  _CM_RESOURCE_LIST
 

Macros

#define CmResourceTypeNull   0
 
#define CmResourceTypePort   1
 
#define CmResourceTypeInterrupt   2
 
#define CmResourceTypeMemory   3
 
#define CmResourceTypeDma   4
 
#define CmResourceTypeDeviceSpecific   5
 
#define CmResourceTypeBusNumber   6
 
#define CmResourceTypeNonArbitrated   128
 
#define CmResourceTypeConfigData   128
 
#define CmResourceTypeDevicePrivate   129
 
#define CmResourceTypePcCardConfig   130
 
#define CmResourceTypeMfCardConfig   131
 
#define CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE   0x0000
 
#define CM_RESOURCE_INTERRUPT_LATCHED   0x0001
 

Typedefs

typedef LARGE_INTEGER PHYSICAL_ADDRESS
 
typedef LARGE_INTEGERPPHYSICAL_ADDRESS
 
typedef struct _CM_PARTIAL_RESOURCE_DESCRIPTOR CM_PARTIAL_RESOURCE_DESCRIPTOR
 
typedef struct _CM_PARTIAL_RESOURCE_DESCRIPTORPCM_PARTIAL_RESOURCE_DESCRIPTOR
 
typedef struct _CM_PARTIAL_RESOURCE_LIST CM_PARTIAL_RESOURCE_LIST
 
typedef struct _CM_PARTIAL_RESOURCE_LISTPCM_PARTIAL_RESOURCE_LIST
 
typedef enum _INTERFACE_TYPE INTERFACE_TYPE
 
typedef enum _INTERFACE_TYPEPINTERFACE_TYPE
 
typedef struct _CM_FULL_RESOURCE_DESCRIPTOR CM_FULL_RESOURCE_DESCRIPTOR
 
typedef struct _CM_FULL_RESOURCE_DESCRIPTORPCM_FULL_RESOURCE_DESCRIPTOR
 
typedef struct _CM_RESOURCE_LIST CM_RESOURCE_LIST
 
typedef struct _CM_RESOURCE_LISTPCM_RESOURCE_LIST
 

Enumerations

enum  _INTERFACE_TYPE {
  InterfaceTypeUndefined = -1 , Internal , Isa , Eisa ,
  MicroChannel , TurboChannel , PCIBus , VMEBus ,
  NuBus , PCMCIABus , CBus , MPIBus ,
  MPSABus , ProcessorInternal , InternalPowerBus , PNPISABus ,
  PNPBus , Vmcs , MaximumInterfaceType , InterfaceTypeUndefined = -1 ,
  Internal , Isa , Eisa , MicroChannel ,
  TurboChannel , PCIBus , VMEBus , NuBus ,
  PCMCIABus , CBus , MPIBus , MPSABus ,
  ProcessorInternal , InternalPowerBus , PNPISABus , PNPBus ,
  Vmcs , MaximumInterfaceType , InterfaceTypeUndefined = -1 , Internal ,
  Isa , Eisa , MicroChannel , TurboChannel ,
  PCIBus , VMEBus , NuBus , PCMCIABus ,
  CBus , MPIBus , MPSABus , ProcessorInternal ,
  InternalPowerBus , PNPISABus , PNPBus , Vmcs ,
  MaximumInterfaceType
}
 

Functions

PVOID GetResourceList (LPWSTR pszDeviceID)
 

Macro Definition Documentation

◆ CM_RESOURCE_INTERRUPT_LATCHED

#define CM_RESOURCE_INTERRUPT_LATCHED   0x0001

Definition at line 117 of file restypes.h.

◆ CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE

#define CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE   0x0000

Definition at line 116 of file restypes.h.

◆ CmResourceTypeBusNumber

#define CmResourceTypeBusNumber   6

Definition at line 109 of file restypes.h.

◆ CmResourceTypeConfigData

#define CmResourceTypeConfigData   128

Definition at line 111 of file restypes.h.

◆ CmResourceTypeDevicePrivate

#define CmResourceTypeDevicePrivate   129

Definition at line 112 of file restypes.h.

◆ CmResourceTypeDeviceSpecific

#define CmResourceTypeDeviceSpecific   5

Definition at line 108 of file restypes.h.

◆ CmResourceTypeDma

#define CmResourceTypeDma   4

Definition at line 107 of file restypes.h.

◆ CmResourceTypeInterrupt

#define CmResourceTypeInterrupt   2

Definition at line 105 of file restypes.h.

◆ CmResourceTypeMemory

#define CmResourceTypeMemory   3

Definition at line 106 of file restypes.h.

◆ CmResourceTypeMfCardConfig

#define CmResourceTypeMfCardConfig   131

Definition at line 114 of file restypes.h.

◆ CmResourceTypeNonArbitrated

#define CmResourceTypeNonArbitrated   128

Definition at line 110 of file restypes.h.

◆ CmResourceTypeNull

#define CmResourceTypeNull   0

Definition at line 103 of file restypes.h.

◆ CmResourceTypePcCardConfig

#define CmResourceTypePcCardConfig   130

Definition at line 113 of file restypes.h.

◆ CmResourceTypePort

#define CmResourceTypePort   1

Definition at line 104 of file restypes.h.

Typedef Documentation

◆ CM_FULL_RESOURCE_DESCRIPTOR

◆ CM_PARTIAL_RESOURCE_DESCRIPTOR

◆ CM_PARTIAL_RESOURCE_LIST

◆ CM_RESOURCE_LIST

◆ INTERFACE_TYPE

◆ PCM_FULL_RESOURCE_DESCRIPTOR

◆ PCM_PARTIAL_RESOURCE_DESCRIPTOR

◆ PCM_PARTIAL_RESOURCE_LIST

◆ PCM_RESOURCE_LIST

◆ PHYSICAL_ADDRESS

Definition at line 5 of file restypes.h.

◆ PINTERFACE_TYPE

◆ PPHYSICAL_ADDRESS

Definition at line 5 of file restypes.h.

Enumeration Type Documentation

◆ _INTERFACE_TYPE

Enumerator
InterfaceTypeUndefined 
Internal 
Isa 
Eisa 
MicroChannel 
TurboChannel 
PCIBus 
VMEBus 
NuBus 
PCMCIABus 
CBus 
MPIBus 
MPSABus 
ProcessorInternal 
InternalPowerBus 
PNPISABus 
PNPBus 
Vmcs 
MaximumInterfaceType 
InterfaceTypeUndefined 
Internal 
Isa 
Eisa 
MicroChannel 
TurboChannel 
PCIBus 
VMEBus 
NuBus 
PCMCIABus 
CBus 
MPIBus 
MPSABus 
ProcessorInternal 
InternalPowerBus 
PNPISABus 
PNPBus 
Vmcs 
MaximumInterfaceType 
InterfaceTypeUndefined 
Internal 
Isa 
Eisa 
MicroChannel 
TurboChannel 
PCIBus 
VMEBus 
NuBus 
PCMCIABus 
CBus 
MPIBus 
MPSABus 
ProcessorInternal 
InternalPowerBus 
PNPISABus 
PNPBus 
Vmcs 
MaximumInterfaceType 

Definition at line 119 of file restypes.h.

119 {
121 Internal,
122 Isa,
123 Eisa,
126 PCIBus,
127 VMEBus,
128 NuBus,
129 PCMCIABus,
130 CBus,
131 MPIBus,
132 MPSABus,
135 PNPISABus,
136 PNPBus,
137 Vmcs,
enum _INTERFACE_TYPE * PINTERFACE_TYPE
@ Eisa
Definition: restypes.h:123
@ VMEBus
Definition: restypes.h:127
@ MaximumInterfaceType
Definition: restypes.h:138
@ InterfaceTypeUndefined
Definition: restypes.h:120
@ CBus
Definition: restypes.h:130
@ TurboChannel
Definition: restypes.h:125
@ PNPBus
Definition: restypes.h:136
@ PCIBus
Definition: restypes.h:126
@ MPIBus
Definition: restypes.h:131
@ Vmcs
Definition: restypes.h:137
@ InternalPowerBus
Definition: restypes.h:134
@ MPSABus
Definition: restypes.h:132
@ Internal
Definition: restypes.h:121
@ NuBus
Definition: restypes.h:128
@ MicroChannel
Definition: restypes.h:124
@ PNPISABus
Definition: restypes.h:135
@ ProcessorInternal
Definition: restypes.h:133
@ Isa
Definition: restypes.h:122
@ PCMCIABus
Definition: restypes.h:129
enum _INTERFACE_TYPE INTERFACE_TYPE

Function Documentation

◆ GetResourceList()

PVOID GetResourceList ( LPWSTR  pszDeviceID)

Definition at line 299 of file hwresource.cpp.

301{
302 PCM_RESOURCE_LIST pResourceList = NULL;
303
304 pResourceList = GetAllocatedResourceList(pszDeviceID);
305 if (pResourceList == NULL)
306 pResourceList = GetBootResourceList(pszDeviceID);
307
308 return (PVOID)pResourceList;
309}
#define NULL
Definition: types.h:112
static PCM_RESOURCE_LIST GetAllocatedResourceList(LPWSTR pszDeviceID)
Definition: hwresource.cpp:214
static PCM_RESOURCE_LIST GetBootResourceList(LPWSTR pszDeviceID)
Definition: hwresource.cpp:257

Referenced by CDeviceView::RecurseResources(), and UpdateDevInfo().