nn::fs::DeleteFile Function

Syntax

void DeleteFile(
     const wchar_t * pathName
);

void DeleteFile(
     const char * pathName
);

List of Overloaded Member Functions

DeleteFile ( const wchar_t * ) Deletes a file.
DeleteFile ( const char * ) Deletes a file.

Description of DeleteFile ( const wchar_t * )

This function does not return processing results and it is therefore impossible to handle errors. In general, use TryDeleteFile.

Description of DeleteFile ( const char * )


Note: This function uses a large amount of buffer space on the stack because it converts the path name from a multibyte-character string into a wide-character string. Pay careful attention to the stack size.

This function does not return processing results and it is therefore impossible to handle errors. In general, use TryDeleteFile.


CONFIDENTIAL