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.
getFile
Directory Service calls this when it gets the first request for a prop or on every request if the prop is not persistent.
The file represented by the property.
The symbolic name of the file.
TRUE - The returned file will be cached by Directory Service. Subsequent requests for this prop will bypass the provider and use the cache. FALSE - The provider will be asked for this prop each time it is requested.
getFiles
Directory Service calls this when it gets a request for a prop and the requested type is nsISimpleEnumerator.
An enumerator for a list of file locations. The elements in the enumeration are nsIFile
NS_SUCCESS_AGGREGATE_RESULT if this result should be aggregated with other "lower" providers.
The symbolic name of the file list.
Generated using TypeDoc
nsIDirectoryServiceProvider2
An extension of nsIDirectoryServiceProvider which allows multiple files to be returned for the given key.