Share via


GameControllerProviderInfo.GetProviderId(IGameControllerProvider) Method

Definition

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

Important

Access to this class requires declaring the xboxAccessoryManagement capability

public:
 static Platform::String ^ GetProviderId(IGameControllerProvider ^ provider);
 static winrt::hstring GetProviderId(IGameControllerProvider const& provider);
public static string GetProviderId(IGameControllerProvider provider);
function getProviderId(provider)
Public Shared Function GetProviderId (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 a physical game controller.

Applies to