MM Developer's Guide
MM Interfaces | MM Methods
| MM Types and Misc API
IMoaMmFilePathServices
Interface ID: IID_IMoaMmFilePathServices
Pointer type: PIMoaMmFilePathServices
Inheritance: IMoaUnknown
Header file: mmiservc.h
Methods
-
- ResolveFilePath()
SetFilePath()
GetFilePath()
GetLocalFilePath()
SetLinked()
IsLinked()
BeginDownload()
BrowseForFile()
Syntax
- BeginDownload(PPIMoaMmFilePathServices This,
- PIMoaStream FAR * ppStream)
Parameters
-
This
- Pointer to the
PIMoaMmFilePathServices
interface
ppStream
PIMoaStream FAR *
Returns
MoaError
Description
-
Given the URL to a linked cast member, this method starts
downloading the file and returns a PIMoaStream. If the download
is already in progress or completed, it returns the PIMoaStream.
If it is a local file, it does nothing. You can immediately
monitor the download's progress or even access its contents.
Syntax
- BrowseForFile(PPIMoaMmFilePathServices This,
- PIMoaPathName pPathToBeginBrowsingIn,
- ConstPMoaLong pFileTypeList,
- ConstPMoaChar pFileExtensions,
PIMoaPathName pSelectedFile)
Parameters
-
This
- Pointer to the
PIMoaMmFilePathServices
interface
pPathToBeginBrowsingIn
PIMoaPathName
pFileTypeList
ConstPMoaLong
pFileExtensions
ConstPMoaChar
pSelectedFile
PIMoaPathName
Returns
MoaError
Description
-
This method displays a file open dialog box that lets you specify file types and extensions to filter for.
Syntax
- GetFilePath(PPIMoaMmFilePathServices This,
- PIMoaPathName pPathOfMember)
Parameters
-
This
- Pointer to the
PIMoaMmFilePathServices
interface
pPathOfMember
PIMoaPathName
Returns
MoaError
Description
-
Given an interface for a linked cast member, this method returns the resolved file path.
Syntax
- GetLocalFilePath(PPIMoaMmFilePathServices This,
- PIMoaPathName pLocalPathOfMember)
Parameters
-
This
- Pointer to the
PIMoaMmFilePathServices
interface
pLocalPathOfMember
PIMoaPathName
Returns
MoaError
Description
-
If a file is specified by an URL, this method returns the
complete path to the copy of that file in the local cache.
If the file is not specified by an URL, it is a local file and this method
returns its path.
Syntax
- IsLinked(PPIMoaMmFilePathServices This)
Parameters
-
This
- Pointer to the
PIMoaMmFilePathServices
interface
Returns
MoaBoolParam
Syntax
- ResolveFilePath(PPIMoaMmFilePathServices This,
- PIMoaPathName pPathToResolve,
- MoaBoolParam bBrowseForFile,
- PIMoaPathName pResolvedPath)
Parameters
-
This
- Pointer to the
PIMoaMmFilePathServices
interface
pPathToResolve
PIMoaPathName
bBrowseForFile
MoaBoolParam
pResolvedPath
PIMoaPathName
Returns
MoaError
Description
-
Given a relative or local file path (written in the syntax of Windows,
Macintosh, or an URL), this method returns the absolute path in syntax
appropriate for the operating system.
Syntax
- SetFilePath(PPIMoaMmFilePathServices This,
- PIMoaPathName pNewPath)
Parameters
-
This
- Pointer to the
PIMoaMmFilePathServices
interface
pNewPath
PIMoaPathName
Returns
MoaError
Syntax
- SetLinked(PPIMoaMmFilePathServices This,
- MoaBoolParam bLinked)
Parameters
-
This
- Pointer to the
PIMoaMmFilePathServices
interface
bLinked
MoaBoolParam
Returns
MoaError
Copyright © 1995-2007 Adobe Macromedia Software LLC, Inc.