MediaItem_t::IsRestricted (Windows Embedded CE 6.0)
1/5/2010
The IsRestricted method tells if the MediaItem_t object has Restricted property set. Restricted means that the item is "read only" and the metadata can not be updated via UPnP. All of the items are restricted for WMC as we provide no UPnP update mechanism.
Please reference the UPnP Specification: ContentDirectory:1 Service Template Version 1.01 Section 2.4.2 Table 2: Base properties under the property name of "restricted".
Syntax
bool IsRestricted ( none );
Parameters
None.
Return Value
Possible values include the following:
Value | Description |
---|---|
TRUE |
The MediaItem has the restricted property set. |
FALSE |
If GetLastError returns ERROR_SUCCESS, this means the MediaItem does not have the restricted property set. Otherwise, the last error would be set to ERROR_INVALID_STATE indicating that the function has been called on an invalid MediaItem_t object. |
Requirements
Header | mediaqueryengine.hpp |
Library | MQELib.lib |
Windows Embedded CE | Windows CE 5.0 Networked Media Device Feature Pack and later |