ReactOS  0.4.14-dev-114-gc8cbd56
ntddpcm.h File Reference

Go to the source code of this file.

Classes

struct  _TUPLE_REQUEST
 
struct  _PCMCIA_SOCKET_INFORMATION
 
struct  _PCMCIA_BUS_INTERFACE_STANDARD
 
struct  _PCMCIA_INTERFACE_STANDARD
 

Macros

#define _NTDDPCMH_
 
#define IOCTL_PCMCIA_BASE   FILE_DEVICE_CONTROLLER
 
#define DD_PCMCIA_DEVICE_NAME   "\\\\.\\Pcmcia"
 
#define DD_PCMCIA_DEVICE_NAME_U   L"\\\\.\\Pcmcia"
 
#define IOCTL_GET_TUPLE_DATA   CTL_CODE(IOCTL_PCMCIA_BASE, 3000, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SOCKET_INFORMATION   CTL_CODE(IOCTL_PCMCIA_BASE, 3004, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define DEVICE_IDENTIFIER_LENGTH   64
 
#define DRIVER_NAME_LENGTH   32
 
#define MANUFACTURER_NAME_LENGTH   64
 
#define PcmciaInvalidControllerType   0xffffffff
 
#define PcmciaClassFromControllerType(type)   ((PCMCIA_CONTROLLER_CLASS)((type) & 0xff))
 
#define PcmciaModelFromControllerType(type)   (((type) >> 8) & 0x3ffff)
 
#define PcmciaRevisionFromControllerType(type)   ((type) >> 26)
 
#define PCCARD_PCI_CONFIGURATION_SPACE   0
 
#define PCCARD_ATTRIBUTE_MEMORY   1
 
#define PCCARD_COMMON_MEMORY   2
 
#define PCCARD_ATTRIBUTE_MEMORY_INDIRECT   3
 
#define PCCARD_COMMON_MEMORY_INDIRECT   4
 
#define PCMCIA_MEMORY_8BIT_ACCESS   0
 
#define PCMCIA_MEMORY_16BIT_ACCESS   1
 
#define PCMCIA_VPP_0V   0
 
#define PCMCIA_VPP_12V   1
 
#define PCMCIA_VPP_IS_VCC   2
 

Typedefs

typedef struct _TUPLE_REQUEST TUPLE_REQUEST
 
typedef struct _TUPLE_REQUESTPTUPLE_REQUEST
 
typedef enum _PCMCIA_CONTROLLER_CLASS PCMCIA_CONTROLLER_CLASS
 
typedef enum _PCMCIA_CONTROLLER_CLASSPPCMCIA_CONTROLLER_CLASS
 
typedef struct _PCMCIA_SOCKET_INFORMATION PCMCIA_SOCKET_INFORMATION
 
typedef struct _PCMCIA_SOCKET_INFORMATIONPPCMCIA_SOCKET_INFORMATION
 
typedef ULONG MEMORY_SPACE
 
typedef _In_ ULONG WhichSpace
 
typedef _In_ ULONG _Out_writes_bytes_all_(Length) PUCHAR Buffer
 
typedef _In_ ULONG _In_ ULONG Offset
 
typedef _In_ ULONG _In_ ULONG _In_ ULONG Length = (USHORT) NameLength
 
typedef PCMCIA_READ_CONFIG * PPCMCIA_READ_CONFIG
 
typedef _In_ ULONG _In_reads_bytes_(Length) PUCHAR Buffer
 
typedef PCMCIA_WRITE_CONFIG * PPCMCIA_WRITE_CONFIG
 
typedef struct _PCMCIA_BUS_INTERFACE_STANDARD PCMCIA_BUS_INTERFACE_STANDARD
 
typedef struct _PCMCIA_BUS_INTERFACE_STANDARDPPCMCIA_BUS_INTERFACE_STANDARD
 
typedef _In_ ULONGLONG HostBase
 
typedef _In_ ULONGLONG _In_ ULONGLONG CardBase
 
typedef _In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
 
typedef _In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN _In_opt_ ULONG WindowSize
 
typedef _In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN _In_opt_ ULONG _In_opt_ UCHAR AccessSpeed
 
typedef _In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN _In_opt_ ULONG _In_opt_ UCHAR _In_opt_ UCHAR BusWidth
 
typedef _In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN _In_opt_ ULONG _In_opt_ UCHAR _In_opt_ UCHAR _In_opt_ BOOLEAN IsAttributeMemory
 
typedef PCMCIA_MODIFY_MEMORY_WINDOW * PPCMCIA_MODIFY_MEMORY_WINDOW
 
typedef _In_ UCHAR VppLevel
 
typedef PCMCIA_SET_VPP * PPCMCIA_SET_VPP
 
typedef PCMCIA_IS_WRITE_PROTECTED * PPCMCIA_IS_WRITE_PROTECTED
 
typedef struct _PCMCIA_INTERFACE_STANDARD PCMCIA_INTERFACE_STANDARD
 
typedef struct _PCMCIA_INTERFACE_STANDARDPPCMCIA_INTERFACE_STANDARD
 

Enumerations

enum  _PCMCIA_CONTROLLER_CLASS {
  PcmciaInvalidControllerClass = -1, PcmciaIntelCompatible, PcmciaCardBusCompatible, PcmciaElcController,
  PcmciaDatabook, PcmciaPciPcmciaBridge, PcmciaCirrusLogic, PcmciaTI,
  PcmciaTopic, PcmciaRicoh, PcmciaDatabookCB, PcmciaOpti,
  PcmciaTrid, PcmciaO2Micro, PcmciaNEC, PcmciaNEC_98
}
 

Functions

 DEFINE_GUID (GUID_PCMCIA_INTERFACE_STANDARD, 0xbed5dadfL, 0x38fb, 0x11d1, 0x94, 0x62, 0x00, 0xc0, 0x4f, 0xb9, 0x60, 0xee)
 
typedef _Function_class_ (PCMCIA_READ_CONFIG) ULONG(NTAPI PCMCIA_READ_CONFIG)(_In_opt_ PVOID Context
 
typedef _Function_class_ (PCMCIA_WRITE_CONFIG) ULONG(NTAPI PCMCIA_WRITE_CONFIG)(_In_opt_ PVOID Context
 
typedef _Function_class_ (PCMCIA_MODIFY_MEMORY_WINDOW) BOOLEAN(NTAPI PCMCIA_MODIFY_MEMORY_WINDOW)(_In_opt_ PVOID Context
 
typedef _Function_class_ (PCMCIA_SET_VPP) BOOLEAN(NTAPI PCMCIA_SET_VPP)(_In_opt_ PVOID Context
 
typedef _Function_class_ (PCMCIA_IS_WRITE_PROTECTED) BOOLEAN(NTAPI PCMCIA_IS_WRITE_PROTECTED)(_In_opt_ PVOID Context)
 

Macro Definition Documentation

◆ _NTDDPCMH_

#define _NTDDPCMH_

Definition at line 26 of file ntddpcm.h.

◆ DD_PCMCIA_DEVICE_NAME

#define DD_PCMCIA_DEVICE_NAME   "\\\\.\\Pcmcia"

Definition at line 34 of file ntddpcm.h.

◆ DD_PCMCIA_DEVICE_NAME_U

#define DD_PCMCIA_DEVICE_NAME_U   L"\\\\.\\Pcmcia"

Definition at line 35 of file ntddpcm.h.

◆ DEVICE_IDENTIFIER_LENGTH

#define DEVICE_IDENTIFIER_LENGTH   64

Definition at line 43 of file ntddpcm.h.

◆ DRIVER_NAME_LENGTH

#define DRIVER_NAME_LENGTH   32

Definition at line 44 of file ntddpcm.h.

◆ IOCTL_GET_TUPLE_DATA

#define IOCTL_GET_TUPLE_DATA   CTL_CODE(IOCTL_PCMCIA_BASE, 3000, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 37 of file ntddpcm.h.

◆ IOCTL_PCMCIA_BASE

#define IOCTL_PCMCIA_BASE   FILE_DEVICE_CONTROLLER

Definition at line 32 of file ntddpcm.h.

◆ IOCTL_SOCKET_INFORMATION

#define IOCTL_SOCKET_INFORMATION   CTL_CODE(IOCTL_PCMCIA_BASE, 3004, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 40 of file ntddpcm.h.

◆ MANUFACTURER_NAME_LENGTH

#define MANUFACTURER_NAME_LENGTH   64

Definition at line 45 of file ntddpcm.h.

◆ PCCARD_ATTRIBUTE_MEMORY

#define PCCARD_ATTRIBUTE_MEMORY   1

Definition at line 117 of file ntddpcm.h.

◆ PCCARD_ATTRIBUTE_MEMORY_INDIRECT

#define PCCARD_ATTRIBUTE_MEMORY_INDIRECT   3

Definition at line 119 of file ntddpcm.h.

◆ PCCARD_COMMON_MEMORY

#define PCCARD_COMMON_MEMORY   2

Definition at line 118 of file ntddpcm.h.

◆ PCCARD_COMMON_MEMORY_INDIRECT

#define PCCARD_COMMON_MEMORY_INDIRECT   4

Definition at line 120 of file ntddpcm.h.

◆ PCCARD_PCI_CONFIGURATION_SPACE

#define PCCARD_PCI_CONFIGURATION_SPACE   0

Definition at line 116 of file ntddpcm.h.

◆ PCMCIA_MEMORY_16BIT_ACCESS

#define PCMCIA_MEMORY_16BIT_ACCESS   1

Definition at line 133 of file ntddpcm.h.

◆ PCMCIA_MEMORY_8BIT_ACCESS

#define PCMCIA_MEMORY_8BIT_ACCESS   0

Definition at line 132 of file ntddpcm.h.

◆ PCMCIA_VPP_0V

#define PCMCIA_VPP_0V   0

Definition at line 149 of file ntddpcm.h.

◆ PCMCIA_VPP_12V

#define PCMCIA_VPP_12V   1

Definition at line 150 of file ntddpcm.h.

◆ PCMCIA_VPP_IS_VCC

#define PCMCIA_VPP_IS_VCC   2

Definition at line 151 of file ntddpcm.h.

◆ PcmciaClassFromControllerType

#define PcmciaClassFromControllerType (   type)    ((PCMCIA_CONTROLLER_CLASS)((type) & 0xff))

Definition at line 85 of file ntddpcm.h.

◆ PcmciaInvalidControllerType

#define PcmciaInvalidControllerType   0xffffffff

Definition at line 47 of file ntddpcm.h.

◆ PcmciaModelFromControllerType

#define PcmciaModelFromControllerType (   type)    (((type) >> 8) & 0x3ffff)

Definition at line 86 of file ntddpcm.h.

◆ PcmciaRevisionFromControllerType

#define PcmciaRevisionFromControllerType (   type)    ((type) >> 26)

Definition at line 87 of file ntddpcm.h.

Typedef Documentation

◆ _In_reads_bytes_

_In_reads_bytes_

Definition at line 111 of file ntddpcm.h.

◆ _Out_writes_bytes_all_

typedef _In_ ULONG _Out_writes_bytes_all_(Length) PUCHAR Buffer

Definition at line 100 of file ntddpcm.h.

◆ AccessSpeed

◆ BusWidth

◆ CardBase

Definition at line 140 of file ntddpcm.h.

◆ Enable

Definition at line 140 of file ntddpcm.h.

◆ HostBase

Definition at line 140 of file ntddpcm.h.

◆ IsAttributeMemory

◆ Length

Definition at line 101 of file ntddpcm.h.

◆ MEMORY_SPACE

Definition at line 92 of file ntddpcm.h.

◆ Offset

Definition at line 101 of file ntddpcm.h.

◆ PCMCIA_BUS_INTERFACE_STANDARD

◆ PCMCIA_CONTROLLER_CLASS

◆ PCMCIA_INTERFACE_STANDARD

◆ PCMCIA_SOCKET_INFORMATION

◆ PPCMCIA_BUS_INTERFACE_STANDARD

◆ PPCMCIA_CONTROLLER_CLASS

◆ PPCMCIA_INTERFACE_STANDARD

◆ PPCMCIA_IS_WRITE_PROTECTED

typedef PCMCIA_IS_WRITE_PROTECTED* PPCMCIA_IS_WRITE_PROTECTED

Definition at line 166 of file ntddpcm.h.

◆ PPCMCIA_MODIFY_MEMORY_WINDOW

typedef PCMCIA_MODIFY_MEMORY_WINDOW* PPCMCIA_MODIFY_MEMORY_WINDOW

Definition at line 147 of file ntddpcm.h.

◆ PPCMCIA_READ_CONFIG

typedef PCMCIA_READ_CONFIG* PPCMCIA_READ_CONFIG

Definition at line 103 of file ntddpcm.h.

◆ PPCMCIA_SET_VPP

typedef PCMCIA_SET_VPP* PPCMCIA_SET_VPP

Definition at line 159 of file ntddpcm.h.

◆ PPCMCIA_SOCKET_INFORMATION

◆ PPCMCIA_WRITE_CONFIG

typedef PCMCIA_WRITE_CONFIG* PPCMCIA_WRITE_CONFIG

Definition at line 114 of file ntddpcm.h.

◆ PTUPLE_REQUEST

◆ TUPLE_REQUEST

◆ VppLevel

typedef _In_ UCHAR VppLevel

Definition at line 158 of file ntddpcm.h.

◆ WhichSpace

Definition at line 99 of file ntddpcm.h.

◆ WindowSize

Definition at line 140 of file ntddpcm.h.

Enumeration Type Documentation

◆ _PCMCIA_CONTROLLER_CLASS

Enumerator
PcmciaInvalidControllerClass 
PcmciaIntelCompatible 
PcmciaCardBusCompatible 
PcmciaElcController 
PcmciaDatabook 
PcmciaPciPcmciaBridge 
PcmciaCirrusLogic 
PcmciaTI 
PcmciaTopic 
PcmciaRicoh 
PcmciaDatabookCB 
PcmciaOpti 
PcmciaTrid 
PcmciaO2Micro 
PcmciaNEC 
PcmciaNEC_98 

Definition at line 53 of file ntddpcm.h.

Function Documentation

◆ _Function_class_() [1/5]

typedef _Function_class_ ( PCMCIA_READ_CONFIG  )

◆ _Function_class_() [2/5]

typedef _Function_class_ ( PCMCIA_WRITE_CONFIG  )

◆ _Function_class_() [3/5]

typedef _Function_class_ ( PCMCIA_MODIFY_MEMORY_WINDOW  )

◆ _Function_class_() [4/5]

typedef _Function_class_ ( PCMCIA_SET_VPP  )

◆ _Function_class_() [5/5]

typedef _Function_class_ ( PCMCIA_IS_WRITE_PROTECTED  )

◆ DEFINE_GUID()

DEFINE_GUID ( GUID_PCMCIA_INTERFACE_STANDARD  ,
0xbed5dadfL  ,
0x38fb  ,
0x11d1  ,
0x94  ,
0x62  ,
0x00  ,
0xc0  ,
0x4f  ,
0xb9  ,
0x60  ,
0xee   
)