Share via


Windows Media Player 11 SDK IWMPLibrarySharingServices::isLibrarySharingEnabled 

Windows Media Player SDK banner art

Previous Next

IWMPLibrarySharingServices::isLibrarySharingEnabled

The isLibrarySharingEnabled method retrieves a value indicating whether the user has enabled library sharing in Windows Media Player.

Syntax

  HRESULT isLibrarySharingEnabled(
  VARIANT_BOOL*  pvbEnabled
);

Parameters

pvbEnabled

[out]  Pointer to a VARIANT_BOOL that receives the result. VARIANT_TRUE indicates that the user has enabled library sharing.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Version: Windows Media Player 11.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next