PathIsTemporaryA

Go to Home Page

Determines if a file is a temporary one

Syntax

BOOL WINAPI PathIsTemporaryA (
    LPCSTR pszFile
)

Parameters

pszFile
The file to query

Return Value

Nonzero if the file is found to be a temporary, zero otherwise

Remarks

A file is determined to be of a temporary nature if it has the FILE_ATTRIBUTE_TEMPORARY attribute or if it is located in the %TMP% folder, the Temporary Internet Files folder, or the CD Burning staging folder.

This function converts the input argument to a wide string and calls PathIsTemporaryW.

This function is also known as _PathIsTemporaryA@4.