Share via


IMLMediaParser::GetKnownFileExtensions (Compact 7)

3/12/2014

This method returns the list of file extensions supported by the media parser.

Syntax

HRESULT GetKnownFileExtensions(
  ULONG  *pcFileExtensions,
  BSTR  **prgFileExtensions
);

Parameters

  • pcFileExtensions
    [out] Pointer to the number of file extensions returned.
  • prgFileExtensions
    [out, size_is(, *pcFileExtensions)] Pointer to the list of supported file extensions.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description

S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_POINTER

The pcFileExtensions or the prgFileExtensions parameter is invalid.

E_FAIL

The method was not successful.

E_OUTOFMEMORY

An out of memory error occurred.

Remarks

The Media Library determines which media parser object to call for each request and internally calls this method to retrieve the file extensions supported by this media parser.

Requirements

Header

mlibdll_plugin.h,
mlibdll_plugin.idl

Library

mlibdll.lib

See Also

Reference

IMLMediaParser