PathIsHTMLFile function
Determines if a file is an HTML file. The determination is made based on the content type that is registered for the file's extension.
Syntax
BOOL PathIsHTMLFile( _In_ LPCTSTR pszFile );
Parameters
- pszFile [in]
-
Type: LPCTSTR
The address of a character buffer that contains the path and name of the file.
Return value
Type: BOOL
Returns nonzero if the file is an HTML file, or zero otherwise.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
PathIsHTMLFileW (Unicode) and PathIsHTMLFileA (ANSI) |