JMFSSToURL
Converts a Mac OS file system specification record (FSSpec) into a Uniform Resource Locator (URL) string.
Handle JMFSSToURL(JMSessionRef session, const FSSpec* spec);
session- The current session.
- spec
- A pointer to a file system specification record.
- function result
- A handle containing a URL string in the form
file://xxxx. If the file cannot be found, the function returnsnull.DISCUSSION
TheJMFSSToURLfunction resolves the path of the file represented by the file system specification record and returns this information as a URL string. The handle returned points to the a null-terminated string. Your application is responsible for calling the Mac OS Toolbox functionDisposeHandleto release the allocated handle.SEE ALSO
The JMURLToFSS function (page 57).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help