Jump to content

ADAPTERSTRUCT: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
m Undo revision 58348 by Martini (talk) nonsense
Line 2: Line 2:


==Type==
==Type==
  [[PSZ]]      [[AdaptDescriptName]];
  [[PSZ]]      AdaptDescriptName;
  [[USHORT]]    [[AdaptFlags]];
  [[USHORT]]    AdaptFlags;
  USHORT    [[BaseType]];
  USHORT    BaseType;
  USHORT    [[SubType]];
  USHORT    SubType;
  USHORT    [[InterfaceType]];
  USHORT    InterfaceType;
  USHORT    [[HostBusType]];
  USHORT    HostBusType;
  USHORT    [[HostBusWidth]];
  USHORT    HostBusWidth;
  PADJUNCT  [[pAdjunctList]];
  PADJUNCT  pAdjunctList;
  [[ULONG]]    [[Reserved]];           
  [[ULONG]]    Reserved;           


==C Declaration Method==
==C Declaration Method==

Revision as of 10:19, 4 August 2018

Adapter structure

Type

PSZ       AdaptDescriptName;
USHORT    AdaptFlags;
USHORT    BaseType;
USHORT    SubType;
USHORT    InterfaceType;
USHORT    HostBusType;
USHORT    HostBusWidth;
PADJUNCT  pAdjunctList;
ULONG     Reserved;          

C Declaration Method

typedef struct

Remarks

The BaseType, SubType, and InterfaceType fields provide a category of the adapter being created. Refer to RMBASE.H for a complete list of adapter categories.

The HostBusType and HostBusWidth fields describe the host bus that the adapter supports. The fields also describe how the adapter is connected to the host system rather than how the adapter is connected to the devices it supports.