|
@@ -546,7 +546,7 @@ RAWINPUT_InitWindowsGamingInput(RAWINPUT_DeviceContext *ctx)
|
|
|
WindowsCreateStringReference_t WindowsCreateStringReferenceFunc = (WindowsCreateStringReference_t)GetProcAddress(hModule, "WindowsCreateStringReference");
|
|
|
RoGetActivationFactory_t RoGetActivationFactoryFunc = (RoGetActivationFactory_t)GetProcAddress(hModule, "RoGetActivationFactory");
|
|
|
if (WindowsCreateStringReferenceFunc && RoGetActivationFactoryFunc) {
|
|
|
- LPTSTR pNamespace = L"Windows.Gaming.Input.Gamepad";
|
|
|
+ PCWSTR pNamespace = L"Windows.Gaming.Input.Gamepad";
|
|
|
HSTRING_HEADER hNamespaceStringHeader;
|
|
|
HSTRING hNamespaceString;
|
|
|
|