Share via


IMLMediaParser::GetEntityType (Compact 7)

3/12/2014

This method returns the entity types in the specified media file.

Syntax

HRESULT GetEntityType(
  MLDSItem  file,
  ULONG  *pEntityType
);

Parameters

  • file
    [in] MLDSItem structure that contains the file information.
  • pEntityType
    [out] Pointer to the EntityId enumeration that specifies the type of entity in the media file.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description

S_OK

The method was successful.

S_FALSE

The parameters are valid but the entity type is not known.

E_INVALIDARG

One or more parameters are invalid.

Remarks

The Media Library determines which media parser object to call for each request and internally calls this method to retrieve the entity types in the specified file.

Requirements

Header

mlibdll_plugin.h,
mlibdll_plugin.idl

Library

mlibdll.lib

See Also

Reference

IMLMediaParser