DETECTEDSTRUCT
Appearance
Structure used by Resource Manager to identify detected devices.
Type
PSZ DetectedDescriptName; USHORT DetectFlags; IDTYPE IDType; DEVID DeviceID; DEVID FunctionID; DEVID CompatibleID; PADJUNCT pAdjuntList; VENDID VendorID; SERNUM SerialNumber;
C Declaration Method
typedef struct
Fields
- DetectedDescriptName
- Descriptive ASCII string.
- DetectFlags
- Detected last boot.
- IDType
- ISA PNP, PCI, or other ID.
- DeviceID
- Device ID.
- FunctionID
- Multi-function hardware ID (single function card = DeviceID).
- CompatibleID
- Compatible device ID.
- pAdjuntList
- Pointer to a linked list of adjunct data structures.
- VendorID
- Vendor ID for the detected device; if not known, then 0.
- SerialNumber
- Serial number for the detected device; if not known, then 0.
Remarks
Example Code
typedef struct _DETECTEDSTRUCT { PSZ DetectedDescriptName; /* Descriptive ASCII string. */ USHORT DetectFlags; /* Detected last boot. */ IDTYPE IDType; /* ISA PNP, PCI, or other ID. */ DEVID DeviceID; /* Device ID. */ DEVID FunctionID; /* Multi-function hardware ID (single function card = DeviceID). */ DEVID CompatibleID; /* Compatible device ID. */ PADJUNCT pAdjuntList; /* Pointer to a linked list of adjunct data structures. */ VENDID VendorID; /* Vendor ID for the detected device; if not known, then 0. */ SERNUM SerialNumber; /* Serial number for the detected device; if not known, then 0. */ } DETECTEDSTRUCT; FAR * PDETECTEDSTRUCT , NEAR * NPDETECTEDSTRUCT