PathIsTemporaryW

Go to Home Page

Determines if a file is a temporary one

Syntax

BOOL WINAPI PathIsTemporaryW (
    LPCWSTR pwszFile
)

Parameters

pwszFile
The file to check

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 is also known as _PathIsTemporaryW@4.