diff --git a/reactos/drivers/wdm/audio/backpln/audio_test/audio_test.c b/reactos/drivers/wdm/audio/backpln/audio_test/audio_test.c index 0ee134b2e53..609d1de13b8 100644 --- a/reactos/drivers/wdm/audio/backpln/audio_test/audio_test.c +++ b/reactos/drivers/wdm/audio/backpln/audio_test/audio_test.c @@ -124,7 +124,7 @@ main(int argc, char* argv[]) i++; } - DeviceInfo.State = KSSTATE_RUN; + DeviceInfo.u.State = KSSTATE_RUN; Status = DeviceIoControl(hWdmAud, IOCTL_SETDEVICE_STATE, (LPVOID)&DeviceInfo, sizeof(WDMAUD_DEVICE_INFO), &DeviceInfo, sizeof(WDMAUD_DEVICE_INFO), &BytesReturned, &Overlapped); if (!Status) { @@ -154,7 +154,7 @@ main(int argc, char* argv[]) printf("WDMAUD: Played buffer\n"); - DeviceInfo.State = KSSTATE_STOP; + DeviceInfo.u.State = KSSTATE_STOP; Status = DeviceIoControl(hWdmAud, IOCTL_SETDEVICE_STATE, (LPVOID)&DeviceInfo, sizeof(WDMAUD_DEVICE_INFO), &DeviceInfo, sizeof(WDMAUD_DEVICE_INFO), &BytesReturned, &Overlapped); if (!Status) {