ASPlatformPath * calls are used to access its contents. To discard this object, call ASFileSysReleasePlatformPath(). typedef struct _t_ASPlatformPath *ASPlatformPath;
typedef CFURLRefRec *CFURLRefRec_Ptr;
typedef CFURLRefRecPlacebo *CFURLRefRec_Ptr;
typedef char *Cstring_Ptr;
typedef FSRefWithCFStringRefRec *FSRefWithCFStringRefRec_Ptr;
typedef FSRefWithCFStringRefRecPlacebo *FSRefWithCFStringRefRec_Ptr;
typedef struct FSRef *FSRef_Ptr;
typedef struct FSRefPlacebo *FSRef_Ptr;
typedef struct FSSpec *FSSpec_Ptr;
typedef struct FSSpecPlacebo *FSSpec_Ptr;
typedef char *POSIXPath_Ptr;
| |
const struct __CFURL *url; | |
|
| |
const struct __CFURLPlacebo *url; | |
|
| |
struct FSRef *ref; | |
const struct __CFString *str; | Definition of a CFStringRef.
|
|
| |
struct FSRefPlacebo *ref; | |
const struct __CFStringPlacebo *str; | |
|
This method was deprecated in Acrobat 5.0. Use ASFileSysCreatePathName() instead.
It converts a platform-specific path name to an ASPathName. It can create an ASPathName from a file path where the file does not already exist. It works for Windows UNC path names as well. It is the caller's responsibility to release the returned ASPathName.
ASPathName ASPathFromPlatformPath(void *platformPath);
platformPath | A pointer to a platform-specific path name. On Windows and UNIX, it is a
NULL-terminated string containing the full path name with the appropriate path separators for each platform. |
platformPath. platformPathType parameter of ASFileSysAcquirePlatformPath(). Note: Do not release the returned value, or any member data of an ASPlatformPath directly; use ASFileSysReleasePlatformPath() when finished with the object.
CFURLRefRec_Ptr ASPlatformPathGetCFURLRefRecPtr(ASPlatformPath path);
path | The platform path.
|
platformPathType parameter of ASFileSysAcquirePlatformPath(). Note: Applications should use this as a read-only pointer; modifying the returned buffer can corrupt the ASPlatformPath. Do not free the pointer.
Note: Do not release the returned value, or any member data of an ASPlatformPath directly; use ASFileSysReleasePlatformPath() when finished with the object.
Cstring_Ptr ASPlatformPathGetCstringPtr(ASPlatformPath path);
path | The platform path.
|
platformPathType parameter of ASFileSysAcquirePlatformPath(). Note: Do not release the returned value, or any member data of an ASPlatformPath directly; use ASFileSysReleasePlatformPath() when finished with the object.
FSRef_Ptr ASPlatformPathGetFSRefPtr(ASPlatformPath path);
path | The platform path.
|
platformPathType parameter of ASFileSysAcquirePlatformPath(). Note: Do not release the returned value, or any member data of an ASPlatformPath directly; use ASFileSysReleasePlatformPath() when finished with the object.
FSRefWithCFStringRefRec_Ptr ASPlatformPathGetFSRefWithCFStringRefRecPtr(ASPlatformPath path);
path | The platform path.
|
platformPathType parameter of ASFileSysAcquirePlatformPath(). Note: Do not release the returned value, or any member data of an ASPlatformPath directly; use ASFileSysReleasePlatformPath() when finished with the object.
FSSpec_Ptr ASPlatformPathGetFSSpecPtr(ASPlatformPath path);
path | The platform path.
|
platformPathType parameter of ASFileSysAcquirePlatformPath(). Note: Do not release the returned value, or any member data of an ASPlatformPath directly; use ASFileSysReleasePlatformPath() when finished with the object.
POSIXPath_Ptr ASPlatformPathGetPOSIXPathPtr(ASPlatformPath path);
path | The platform path.
|