Important: The information in this document is obsolete and should not be used for new development.
SCalcSPointer
This function is used only by the Macintosh Operating System.
FUNCTION SCalcSPointer (spBlkPtr: SpBlockPtr): OSErr;
- spBlkPtr
- A pointer to a Slot Manager parameter block.
<--> spsPointerPtrA pointer to a byte in declaration ROM. --> spOffsetDataLongInt The offset in bytes to desired pointer. --> spByteLanesSignedByte The byte lanes used. DESCRIPTION
TheSCalcSPointerfunction returns a pointer to a given byte in the declaration ROM of an expansion card.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theSCalcSPointerfunction are
Trap macro Selector _SlotManager $002C On entry, register D0 contains the routine selector and register A0 contains the address of the Slot Manager parameter block. When
_SlotManagerreturns, register D0 contains the result code.
Registers on entry A0 Address of the parameter block D0 $002C 
Registers on exit D0 Result code RESULT CODES
noErr 0 No error smNoMoresRsrcs -344 Requested sResource not found 
 
  
  
 