Export (0) Print
Expand All

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

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 4.71 or later)

Unicode and ANSI names

PathIsHTMLFileW (Unicode) and PathIsHTMLFileA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft