Share via


GameControllerProviderInfo.GetParentProviderId Method

Definition

Retrieves the persistent ID of the parent device of a physical game controller connected to the system using GIP.SYS.

Important

Access to this API requires declaring the xboxAccessoryManagement capability

public:
 static Platform::String ^ GetParentProviderId(IGameControllerProvider ^ provider);
 static winrt::hstring GetParentProviderId(IGameControllerProvider const& provider);
public static string GetParentProviderId(IGameControllerProvider provider);
function getParentProviderId(provider)
Public Shared Function GetParentProviderId (provider As IGameControllerProvider) As String

Parameters

provider
IGameControllerProvider

A physical game controller device connected to the system.

Returns

String

Platform::String

winrt::hstring

The persistent ID of the parent device of a physical game controller.

Applies to