file
The file whose location is stored or retrieved.
relativeToKey
A directory service key for the directory from which the file path is relative.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Generated using TypeDoc
The nsIRelativeFilePref interface is a wrapper for an nsIFile and and a directory service key. When used as a pref value, it stores a relative path to the file from the location pointed to by the directory service key. The path has the same syntax across all platforms.
See