次の方法で共有


IAMMediaContent::get_Rating (Compact 2013)

3/26/2014

This method retrieves the rating.

Syntax

HRESULT get_Rating(
  BSTR* pbstrRating
);

Parameters

  • pbstrRating
    [out] Pointer to a variable that receives a BSTR with the information.

Return Value

Returns an HRESULT value. Possible values include those shown in the following table.

Value

Description

S_OK

Success.

E_NOTIMPL

Not implemented.

E_OUTOFMEMORY

Insufficient memory.

VFW_E_NOT_FOUND

Item not found.

Remarks

If the method succeeds, the string **pbstrRating****will contain rating information if available or track number otherwise.

The caller must free the returned BSTR by calling the SysFreeString function.

Requirements

Header

dshow.h,
initguid.h,
qnetwork.h

Library

Strmiids.lib

See Also

Reference

IAMMediaContent Interface