PathIsContentTypePathIsContentType*
*



Contents  *



Index  *Topic Contents
*Previous Topic: PathGetDriveNumber
*Next Topic: PathIsDirectory

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.

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.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.