Important: The information in this document is obsolete and should not be used for new development.
SFindSInfoRecPtr
This function is used only by the Macintosh Operating System.
FUNCTION SFindSInfoRecPtr (spBlkPtr: SpBlockPtr): OSErr;
- spBlkPtr
- A pointer to a Slot Manager parameter block.
<-- spResult
LongInt A pointer to the slot information record. --> spSlot
SignedByte
The slot number. DESCRIPTION
TheSFindSInfoRecPtr
function returns a pointer to the slot information record for a particular slot.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theSFindSInfoRecPtr
function are
Trap macro Selector _SlotManager $002F On entry, register D0 contains the routine selector and register A0 contains the address of the Slot Manager parameter block. When
_SlotManager
returns, register D0 contains the result code.
Registers on entry A0 Address of the parameter block D0 $002F
Registers on exit D0 Result code RESULT CODES
noErr 0 No error smNoMoresRsrcs -344 Requested sResource not found SEE ALSO
For information about the high-level routine for reading the slot information record, see the description of theSReadInfo
function on page 2-61.