Partager via


WindowsMediaLibrarySharingDeviceAuthorizationStatus enumeration (wmlss.h)

[The feature associated with this page, Windows Media Library Sharing Services, is a legacy feature. It has been superseded by Media Casting. Media Casting has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of #FEATURENAMENOLINK#, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The WindowsMediaLibrarySharingDeviceAuthorizationStatus enumeration defines constants that indicate whether a media device is authorized to have access to a media library.

Syntax

typedef enum WindowsMediaLibrarySharingDeviceAuthorizationStatus {
  DEVICE_AUTHORIZATION_UNKNOWN = 0,
  DEVICE_AUTHORIZATION_ALLOWED = 1,
  DEVICE_AUTHORIZATION_DENIED = 2
} ;

Constants

 
DEVICE_AUTHORIZATION_UNKNOWN
Value: 0
It is not known whether the device is authorized to have access to the media library.
DEVICE_AUTHORIZATION_ALLOWED
Value: 1
The device is authorized to have access to the media library.
DEVICE_AUTHORIZATION_DENIED
Value: 2
The device is not authorized to have access to the media library.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server Windows Server�2008�R2 [desktop apps only]
Header wmlss.h (include Wmlss.h)

See also

Windows Media Library Sharing Services