Apple Macintosh PowerBook 190cs/66 Specifications Page 192

  • Download
  • Add to my manuals
  • Print
  • Page
    / 204
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 191
CHAPTER 8
PC Card Services
176 Miscellaneous Functions
RESULT CODES
GetAdapterInfo Parameter Block 8
You can use vendor-specific call #6 to get information about an adapter that interfaces to
a specified socket.
// vendor-specific call #6
The parameter block associated with this function is as follows:
typedef struct VendorSpecificPB VendorSpecificPB;
struct VendorSpecificPB
{
UInt32 clientHandle; // clientHandle returned by RegisterClient
UInt16 vsCode; // vsCode = 6
UInt16 socket; // socket number
UInt32 dataLen; // length of GetAdapterInfoPB plus space for
// voltages
UInt8 *vsDataPtr; // GetAdapterInfoPB * (supplied by client)
};
typedef struct GetAdapterInfoPB GetAdapterInfoPB;
struct GetAdapterInfoPB
{
UInt32 attributes; // capabilities of socket's adapter
UInt16 revision; // revision ID of adapter
UInt16 reserved; //
UInt16 numVoltEntries; // number of valid voltage values
UInt8 *voltages; // <-> array of BCD voltage values
};
// 'attributes' field values
enum
{
csLevelModeInterrupts = 0x00000001,
csPulseModeInterrupts = 0x00000002,
csProgrammableWindowAddr = 0x00000004,
csProgrammableWindowSize = 0x00000008,
csSocketSleepPower = 0x00000010,
SUCCESS No error
BAD_HANDLE Invalid clientHandle value
Page view 191
1 ... 191 192 193 ... 204

Comments to this Manuals

No comments