Contents

CFURLWriteBookmarkDataToFile(_:_:_:_:)

Creates an alias file on disk at a specified location with specified bookmark data.

Declaration

func CFURLWriteBookmarkDataToFile(_ bookmarkRef: CFData!, _ fileURL: CFURL!, _ options: CFURLBookmarkFileCreationOptions, _ errorRef: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool

Parameters

  • bookmarkRef:

    The bookmark data containing information for the alias file.

  • fileURL:

    The desired location of the alias file.

  • options:

    Options taken into account when creating the alias file.

  • errorRef:

    The error that occurred in the case that the alias file cannot be created.

Return Value

true if the alias file is successfully created; otherwise, false.

See Also

Working with Bookmark Data