mirror of
https://github.com/nefarius/ViGEmBus.git
synced 2026-12-02 18:14:19 +00:00
Bugfix
This commit is contained in:
1 parent
0a2ff96e0c
commit
bd5d07206b
1 file changed
+2
-9
+2
-9
@@ -503,22 +503,15 @@ Bus_Ds4AwaitOutputHandler(
|
||||
UNREFERENCED_PARAMETER(IoctlCode);
|
||||
UNREFERENCED_PARAMETER(OutputBufferSize);
|
||||
UNREFERENCED_PARAMETER(InputBufferSize);
|
||||
UNREFERENCED_PARAMETER(InputBuffer);
|
||||
UNREFERENCED_PARAMETER(OutputBuffer);
|
||||
UNREFERENCED_PARAMETER(BytesReturned);
|
||||
|
||||
FuncEntry(TRACE_QUEUE);
|
||||
|
||||
NTSTATUS status;
|
||||
PDS4_AWAIT_OUTPUT pDs4AwaitOut = (PDS4_AWAIT_OUTPUT)InputBuffer;
|
||||
PFDO_DEVICE_DATA pDevCtx = FdoGetData(DMF_ParentDeviceGet(DmfModule));
|
||||
|
||||
// This request only supports a single PDO at a time
|
||||
if (pDs4AwaitOut->SerialNo == 0)
|
||||
{
|
||||
status = STATUS_INVALID_PARAMETER;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
||||
if (!NT_SUCCESS(status = DMF_NotifyUserWithRequestMultiple_RequestProcess(
|
||||
pDevCtx->UserNotification,
|
||||
Request
|
||||
|
||||
Reference in new issue
Block a user