Function

CFURLCreateBookmarkDataFromAliasRecord

Initializes and returns bookmark data derived from an alias record.

Declaration

CFDataRef CFURLCreateBookmarkDataFromAliasRecord(CFAllocatorRef allocatorRef, CFDataRef aliasRecordDataRef);

Parameters

allocatorRef

The allocator to use to allocate memory for the new CFURL object. Pass NULL or kCFAllocatorDefault to use the current default allocator.

aliasRecordDataRef

The alias record.

Return Value

The bookmark data for the alias record.

See Also

Working with Bookmark Data

CFURLCreateBookmarkData

Returns bookmark data for a URL, created with specified options and resource values.

CFURLCreateBookmarkDataFromFile

Initializes and returns bookmark data derived from a file pointed to by a specified URL.

CFURLWriteBookmarkDataToFile

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

CFURLStartAccessingSecurityScopedResource

In an app that has adopted App Sandbox, makes the resource pointed to by a security-scoped URL available to the app.

CFURLStopAccessingSecurityScopedResource

In an app that adopts App Sandbox, revokes access to the resource pointed to by a security-scoped URL.