Exemplo n.º 1
0
void ReadInHotKeys(void)
{
	g_PrivateHotKeyData.ui32ScanCode = 0x58;
	g_PrivateHotKeyData.ui32ShiftState = 0x0;

	HostReadRegistryDWORDFromString("DEBUG\\Streams", "ui32ScanCode",
					&g_PrivateHotKeyData.ui32ScanCode);
	HostReadRegistryDWORDFromString("DEBUG\\Streams", "ui32ShiftState",
					&g_PrivateHotKeyData.ui32ShiftState);
}
Exemplo n.º 2
0
IMG_VOID ReadInHotKeys(IMG_VOID)
{
	g_PrivateHotKeyData.ui32ScanCode = 0x58;
	g_PrivateHotKeyData.ui32ShiftState = 0x0;



#if 0
	if (_RegOpenKey(HKEY_LOCAL_MACHINE,pszRegPath,&hKey) == ERROR_SUCCESS)
	{


		QueryReg(hKey,"ui32ScanCode",&g_PrivateHotKeyData.ui32ScanCode);
		QueryReg(hKey,"ui32ShiftState",&g_PrivateHotKeyData.ui32ShiftState);
	}
#else
	HostReadRegistryDWORDFromString("DEBUG\\Streams", "ui32ScanCode"  , &g_PrivateHotKeyData.ui32ScanCode);
	HostReadRegistryDWORDFromString("DEBUG\\Streams", "ui32ShiftState", &g_PrivateHotKeyData.ui32ShiftState);
#endif
}