IAMMediaContent::get_Description (Compact 2013)
3/26/2014
This method retrieves a description of the content.
Syntax
HRESULT get_Description(
BSTR* pbstrDescription
);
Parameters
- pbstrDescription
[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:
- For MP3 and WMA files, the string **pbstrDescription****will contain the description if available, otherwise it will return album details if available.
- The caller must free the returned BSTR by calling the SysFreeString function.
Requirements
Header |
dshow.h, |
Library |
Strmiids.lib |