Syntax
Parameters
containerId   _Out_Type: GUID* Receives the container ID of the device.
Return value
Type: voidRemarks
The container ID is the Plug and Play (PnP) container ID of the device. All of the device nodes that belong to the same physical device share the same container ID. For example, a controller that also includes a headset jack exposes separate device nodes for the controller and the audio device, but both report the same container ID. You can use the container ID to associate a GameInput device with related devices that you discover through other APIs, such as audio endpoints. If the device doesn’t have a container ID, containerId is set toGUID_NULL.
The container ID doesn’t change for the lifetime of the device object.
In GameInput v3 and earlier, this information was available from the containerId member of the GameInputDeviceInfo structure returned by IGameInputDevice::GetDeviceInfo.
Requirements
Header: GameInput.h Library: gameinput.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
Overview of GameInputIGameInputDevice
IGameInputDevice::GetDeviceRootId
IGameInputDevice::GetPnpPath
