Microsoft DirectX 9.0

IAMMediaContent::get_Rating

The get_Rating method retrieves the rating.

Syntax

HRESULT get_Rating(
  BSTR *pbstrRating
);

Parameters

pbstrRating

Pointer to a variable that receives a BSTR with the information.

Return Values

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

Return code 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 caller must free the returned BSTR by calling the SysFreeString function.

See Also