nsIFileUtilities

IID:89a31ce0-019a-11d2-815b-006008119d7a
Inherits From:nsISupports

The nsIFileUtilities interface provides access to random file operations. To obtain: QueryInterface on nsIPluginManager.


Methods

void getProgramPath ( out constCharPtr* programPath ) void getTempDirPath ( out constCharPtr* tempDirPath ) void newTempFileName ( char* prefix , PRUint32 length , charPtr* buffer )

void getProgramPath ( out constCharPtr* programPath )

Returns the name of the browser executable program.

Arguments:
programPath: - the returned path to the program

void getTempDirPath ( out constCharPtr* tempDirPath )

Returns the name of the temporary directory.

Arguments:
tempDirPath: - the returned path to the temp directory

void newTempFileName ( char* prefix , PRUint32 length , charPtr* buffer )

Returns a unique temporary file name.

Arguments:
prefix: - a string to prefix to the temporary file name
length: - the length of the resulting buffer to receive the data
buffer: - the returned temp file name

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com