GameControllerProviderInfo.GetProviderId(IGameControllerProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The persistent ID of a physical game controller.