mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 00:59:19 +02:00
reformat: use auto on certain types
This commit is contained in:
@@ -56,10 +56,10 @@ void TPoKeys55::Close()
|
||||
bool TPoKeys55::Connect()
|
||||
{ // Ra: to jest do wyczyszcznia z niepotrzebnych zmiennych i komunikatów
|
||||
Close();
|
||||
GUID InterfaceClassGuid = {0x4d1e55b2, 0xf16f, 0x11cf, 0x88, 0xcb, 0x00,
|
||||
const GUID InterfaceClassGuid = {0x4d1e55b2, 0xf16f, 0x11cf, 0x88, 0xcb, 0x00,
|
||||
0x11, 0x11, 0x00, 0x00, 0x30}; // wszystkie HID tak mają
|
||||
HDEVINFO DeviceInfoTable;
|
||||
auto InterfaceDataStructure = new SP_DEVICE_INTERFACE_DATA;
|
||||
const auto InterfaceDataStructure = new SP_DEVICE_INTERFACE_DATA;
|
||||
auto DetailedInterfaceDataStructure =
|
||||
new SP_DEVICE_INTERFACE_DETAIL_DATA;
|
||||
SP_DEVINFO_DATA DevInfoData;
|
||||
|
||||
Reference in New Issue
Block a user