IWindowsMediaLibrarySharingServices::showShareMediaCPL method
The showShareMediaCPL method displays the media sharing page in the Control Panel and highlights a specified device.
Syntax
HRESULT showShareMediaCPL(
[in] BSTR device
);
Parameters
- device [in]
- A BSTR that specifies the MAC address of the device to be highlighted.
Return value
This method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
Remarks
If device is NULL or if device is an empty BSTR, the focus is set to a default dialog box element. Also, if device is a non-empty BSTR that is not the MAC address of a known device, the focus is set to a default dialog box element.
Requirements
|
Minimum supported client | Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
|
DLL |
|