Important: The information in this document is obsolete and should not be used for new development.
PBDeleteFileIDRef
You can use thePBDeleteFileIDRef
function to delete a file ID reference.
FUNCTION PBDeleteFileIDRef (paramBlock: HParmBlkPtr; async: Boolean): OSErr;
- paramBlock
- A pointer to an
fidParam
variant of the HFS parameter block.async
- A Boolean value that specifies asynchronous (
TRUE) or synchronous (FALSE) execution.
--> ioCompletion
ProcPtr
A pointer to a completion routine. <-- ioResult
OSErr
The result code of the function. --> ioNamePtr
StringPtr
A pointer to a filename. --> ioVRefNum
Integer
A volume specification. --> ioFileID
LongInt
A file ID. DESCRIPTION
ThePBDeleteFileIDRef
function invalidates the specified file ID reference on the volume specified byioVRefNum
orioNamePtr
. 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 forPBDeleteFileIDRef
are
Trap macro Selector _HFSDispatch $0015 RESULT CODES