GameControllerProviderInfo Class
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.
Provides info on a physical game controller connected to the system using GIP.SYS.
Important
Access to this class requires declaring the xboxAccessoryManagement capability
public ref class GameControllerProviderInfo abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Gaming.Input.GamingInputPreviewContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GameControllerProviderInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Gaming.Input.GamingInputPreviewContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class GameControllerProviderInfo
Public Class GameControllerProviderInfo
- Inheritance
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
|
API contract |
Windows.Gaming.Input.GamingInputPreviewContract (introduced in v1.0)
|
Methods
GetParentProviderId(IGameControllerProvider) |
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 |
GetProviderId(IGameControllerProvider) |
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 |