GameControllerProviderInfo.GetParentProviderId 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 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
The persistent ID of the parent device of a physical game controller.