Important: The information in this document is obsolete and should not be used for new development.
Getting Information From sResources
The Slot Manager provides a number of routines that simplify access to the information in sResources. Most of these routines simply return the value of an sResource entry.The
SReadDrvrName
function returns the name of an sResource, formatted as a Pascal string and prefixed with a period. You can pass this string to the Device Manager'sOpenSlot
function to open the driver.The
SReadByte
,SReadWord
, andSReadLong
functions return byte, word, or long values from an sResource entry. TheSGetCString
,SGetBlock
,SReadStruct
, andSFindStruct
functions return pointers to larger data types.
Subtopics
- SReadDrvrName
- SReadByte
- SReadWord
- SReadLong
- SGetCString
- SGetBlock
- SFindStruct
- SReadStruct