IWMPLibrarySharingServices interface (wmp.h)
[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The IWMPLibrarySharingServices interface provides methods to manage library sharing.
To use this interface, you must create a remoted instance of the Windows Media Player control.
Inheritance
The IWMPLibrarySharingServices interface inherits from the IUnknown interface. IWMPLibrarySharingServices also has these types of members:
Methods
The IWMPLibrarySharingServices interface has these methods.
IWMPLibrarySharingServices::isLibraryShared The isLibraryShared method retrieves a value indicating whether the user's library is shared. |
IWMPLibrarySharingServices::isLibrarySharingEnabled The isLibrarySharingEnabled method retrieves a value indicating whether the user has enabled library sharing in Windows Media Player. |
IWMPLibrarySharingServices::showLibrarySharing The showLibrarySharing method displays the Windows Media Player Library Sharing dialog box. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wmp.h |