Searched refs:custom_state (Results 1 – 1 of 1) sorted by relevance
/reactos/modules/rostests/winetests/dinput/ |
H A D | keyboard.c | 85 LONG custom_state[6]; in acquire_tests() local 104 df.dwDataSize = sizeof( custom_state ); in acquire_tests() 136 hr = IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(custom_state), custom_state); in acquire_tests() 141 memset(custom_state, 0x56, sizeof(custom_state)); in acquire_tests() 142 IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(custom_state), custom_state); in acquire_tests() 143 for (i = 0; i < ARRAY_SIZE(custom_state); i++) in acquire_tests() 144 ok(custom_state[i] == 0, "Should be zeroed, got 0x%08x\n", custom_state[i]); in acquire_tests() 151 hr = IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(custom_state), custom_state); in acquire_tests() 153 if (!custom_state[0]) in acquire_tests() 162 hr = IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(custom_state), custom_state); in acquire_tests() [all …]
|