MediaItem_t::IsRestricted (Windows CE 5.0)

Send Feedback

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't 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 is doesn't have the restricted property set. Else, the last error would be set to ERROR_INVALID_STATE indicating that the function has been called on an invalid MediaItem_t object.

Requirements

OS Versions: Windows CE 5.0 Networked Media Device Feature Pack.
Header: MediaQueryEngine.hpp.
Link Library: MQELib.lib.

See Also

MediaItem_t

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.