Important: The information in this document is obsolete and should not be used for new development.
PBDeleteFileIDRef
You can use thePBDeleteFileIDReffunction to delete a file ID reference.
FUNCTION PBDeleteFileIDRef (paramBlock: HParmBlkPtr; async: Boolean): OSErr;
- paramBlock
- A pointer to an
fidParamvariant of the HFS parameter block.async- A Boolean value that specifies asynchronous (
TRUE) or synchronous (FALSE) execution.
--> ioCompletionProcPtrA pointer to a completion routine. <-- ioResultOSErrThe result code of the function. --> ioNamePtrStringPtrA pointer to a filename. --> ioVRefNumIntegerA volume specification. --> ioFileIDLongIntA file ID. DESCRIPTION
ThePBDeleteFileIDReffunction invalidates the specified file ID reference on the volume specified byioVRefNumorioNamePtr. After it has invalidated a file ID
reference, the File Manager can no longer resolve that ID reference to a filename and
parent directory ID.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forPBDeleteFileIDRefare
Trap macro Selector _HFSDispatch $0015 RESULT CODES