Ejemplo n.º 1
0
static DWORD CALLBACK MessageWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
    if ( msg == WM_HOTKEY ) {
        for (int i=0; i < hkiCount; i++ )
            if ((int)hkInfo[i].id == wParam)
                LoadAndSetProfile((WPARAM)hkInfo[i].profile, 0);
    }

    return TRUE;
}
Ejemplo n.º 2
0
static INT_PTR profileService5(WPARAM, LPARAM)
{
    LoadAndSetProfile((WPARAM)menuprofiles[5], 0);
    return 0;
}
Ejemplo n.º 3
0
static INT_PTR profileService4(WPARAM wParam, LPARAM lParam)
{
	LoadAndSetProfile((WPARAM)menuprofiles[4], 0);
	return 0;
}