GameControllerFactoryManager.RegisterCustomFactoryForHardwareId 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
註冊自訂硬體識別碼控制器的處理站。
public:
static void RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory ^ factory, unsigned short hardwareVendorId, unsigned short hardwareProductId);
static void RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory const& factory, uint16_t const& hardwareVendorId, uint16_t const& hardwareProductId);
public static void RegisterCustomFactoryForHardwareId(ICustomGameControllerFactory factory, ushort hardwareVendorId, ushort hardwareProductId);
function registerCustomFactoryForHardwareId(factory, hardwareVendorId, hardwareProductId)
Public Shared Sub RegisterCustomFactoryForHardwareId (factory As ICustomGameControllerFactory, hardwareVendorId As UShort, hardwareProductId As UShort)
參數
- factory
- ICustomGameControllerFactory
要登錄的 Factory。
- hardwareVendorId
-
UInt16
unsigned short
uint16_t
硬體廠商識別碼。
- hardwareProductId
-
UInt16
unsigned short
uint16_t
硬體產品識別碼。