Freigeben über


Windows Media Library Sharing Services

Overview of the Windows Media Library Sharing Services technology.

To develop Windows Media Library Sharing Services, you need these headers:

For programming guidance for this technology, see:

Enumerations

 
WindowsMediaLibrarySharingDeviceAuthorizationStatus

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

Functions

 
get_allowSharingToAllDevices

The get_allowSharingToAllDevices method retrieves a value that indicates whether the current user's media library is shared with all devices on the home network.
get_Authorization

The get_Authorization method retrieves a value that indicates whether the device is authorized to have access to the current user's media library.
get_computerHomeMediaSharingAllowedState

The get_computerHomeMediaSharingAllowedState method retrieves a value that indicates whether media libraries on the computer are allowed to be shared on the home network.
get_computerInternetMediaSharingAllowedState

The get_computerInternetMediaSharingAllowedState method retrieves a value that indicates whether media libraries on the computer are allowed to be shared on the Internet.
get_Count

The get_Count method retrieves the number of properties associated with an individual media device.
get_Count

The get_Count method retrieves the number of media devices on the home network.
get_customSettingsApplied

The get_customSettingsApplied method retrieves a value that indicates whether any custom media-sharing settings are in place for the current user.
get_DeviceID

The get_DeviceID method retrieves the device ID.
get_internetMediaSharingSecurityGroup

The get_internetMediaSharingSecurityGroup method retrieves the name of the security group that is used to authenticate connections coming in over the Internet.
get_Item

The get_Item method retrieves an IWindowsMediaLibrarySharingDeviceProperty interface that represents an individual property for a media device.
get_Item

The get_Item method retrieves an IWindowsMediaLibrarySharingDevice interface that represents an individual media device.
get_Name

The get_Name method retrieves the name of an individual property of a media device.
get_Properties

The get_Properties method retrieves an IWindowsMediaLibrarySharingDeviceProperties interface that represents the collection of all properties for the device.
get_userHomeMediaSharingLibraryName

The get_userHomeMediaSharingLibraryName method retrieves the name of the current user's shared media library.
get_userHomeMediaSharingState

The get_userHomeMediaSharingState method retrieves a value that indicates whether the current user's media library is shared on the home network.
get_userInternetMediaSharingState

The get_userInternetMediaSharingState method retrieves a value that indicates whether the current user's media library is shared on the Internet.
get_Value

The get_Value method retrieves the value of an individual property of a media device.
getAllDevices

The getAllDevices method retrieves an IWindowsMediaLibrarySharingDevices interface that represents all of the media-sharing client devices on the home network.
GetDevice

The GetDevice method retrieves an IWindowsMediaLibrarySharingDevice interface that represents an individual media device.
GetProperty

The GetProperty method retrieves an IWindowsMediaLibrarySharingDeviceProperty interface that represents an individual property for a media device.
put_allowSharingToAllDevices

The put_allowSharingToAllDevices method allows or disallows sharing of the current user's media library with all devices on the home network.
put_Authorization

The put_Authorization method authorizes or unauthorizes the device to have access to the current user's media library.
put_computerHomeMediaSharingAllowedState

The put_computerHomeMediaSharingAllowedState method specifies whether media libraries on the computer are allowed to be shared on the home network.
put_computerInternetMediaSharingAllowedState

The put_computerInternetMediaSharingAllowedState method specifies whether media libraries on the computer are allowed to be shared on the Internet.
put_internetMediaSharingSecurityGroup

The put_internetMediaSharingSecurityGroup method specifies the name of the security group that is used to authenticate connections coming in over the Internet.
put_userHomeMediaSharingLibraryName

The put_userHomeMediaSharingLibraryName method sets the name of the current user's shared media library.
put_userHomeMediaSharingState

The put_userHomeMediaSharingState method enables or disables sharing of the current user's media library on the home network.
put_userInternetMediaSharingState

The put_userInternetMediaSharingState method enables or disables sharing of the current user's media library on the Internet.
setAuthorizationState

The setAuthorizationState method enables or disables access to the current user's media library by a specified device.
setDefaultAuthorization

The setDefaultAuthorization method enables or disables access to all users' media libraries by a specified set of devices.
showShareMediaCPL

The showShareMediaCPL method displays the media sharing page in the Control Panel and highlights a specified device.

Interfaces

 
IWindowsMediaLibrarySharingDevice

The IWindowsMediaLibrarySharingDevice interface defines methods that provide access to an individual media device on the home network.
IWindowsMediaLibrarySharingDeviceProperties

The IWindowsMediaLibrarySharingDeviceProperties interface defines methods that provide access to the collection of all properties for an individual media device.
IWindowsMediaLibrarySharingDeviceProperty

The IWindowsMediaLibrarySharingDeviceProperty interface defines methods that provide access to the name and value of an individual property of a media device.
IWindowsMediaLibrarySharingDevices

The IWindowsMediaLibrarySharingDevices.
IWindowsMediaLibrarySharingServices

The IWindowsMediaLibrarySharingServices interface defines methods that configure the sharing of media libraries among users on the local computer, users on the home network, and users on the Internet.