PathIsContentTypeA(3w)

PathIsContentTypeA3w

Usage

BOOL PathIsContentTypeA
(
LPCSTR lpszPath,
LPCSTR lpszContentType
)

Overview

Determine if a file is of a given registered content type.

Params

lpszPath [In] File to check.

lpszContentType [In] Content type to check for.

Returns

TRUE If lpszPath is a given registered content type, FALSE Otherwise.

Notes

This function looks up the registered content type for lpszPath. If a content type is registered, it is compared (case insensitively) to lpszContentType. Only if this matches does the function succeed.

Implementation

Declared in "shlwapi.h".

Implemented in "dlls/shlwapi/path.c".

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.