![]() | ![]() | ![]() |
| ||
|
PathIsContentType
BOOL PathIsContentType( LPCTSTR pszPath, LPCTSTR pszContentType );Determines if a file's registered content type matches the specified content type. This function obtains the content type for the specified file type and compares that string with the pszContentType. The comparison is not case sensitive.
- Returns nonzero if the file's registered content type matches pszContentType, or zero otherwise.
- pszPath
- Address of a character buffer that contains the file whose content type will be compared.
- pszContentType
- Address of a character buffer that contains the content type string to which the file's registered content type will be compared.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.