IsMediaBehaviorEnabled function (comppkgsup.h)
Gets a value indicating whether the media behavior associated with the specified GUID is enabled.
Syntax
BOOL IsMediaBehaviorEnabled(
GUID mediaBehavior
);
Parameters
mediaBehavior
A GUID that specifies the media behavior for which the enabled state is queried.
Return value
True if the specified media behavior is enabled; otherwise, false.
Remarks
Currently, the only value supported for this function is MEDIA_BEHAVIOR_MEDIAPLAYBACKLIST_AUTOPLAYBACKITEMRESET which causes media items in a MediaPlaybackList to be automatically reset after being played.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | comppkgsup.h |
Library | Comppkgsup.lib |
DLL | CompPkgSup.dll |