Lines Matching refs:Ctx
172 typedef VOID (*PSERVICECALLBACK)(PVOID Ctx, PVOID pArg1, PVOID pArg2, PVOID pArg3);
2532 I8042TRANSMITCCBCTX Ctx;
2533 Ctx.HwDisEnMask = 0;
2534 Ctx.fAndOp = TRUE;
2535 Ctx.ByteMask = (UCHAR) ~((UCHAR)CCB_KEYBOARD_TRANSLATE_MODE);
2537 TransCtrlCmd(pDevExt, &Ctx);
2538 if (!NT_SUCCESS(Ctx.Status))
2539 TransCtrlCmd(pDevExt, &Ctx);
2540 if (!NT_SUCCESS(Ctx.Status))
2542 status = Ctx.Status;
2567 Ctx.HwDisEnMask = 0;
2568 Ctx.fAndOp = FALSE;
2569 Ctx.ByteMask = CCB_KEYBOARD_TRANSLATE_MODE;
2570 TransCtrlCmd(pDevExt, &Ctx);
2571 if (!NT_SUCCESS(Ctx.Status))
2573 if (Ctx.Status == STATUS_DEVICE_DATA_ERROR)
2590 status = Ctx.Status;
2615 I8042TRANSMITCCBCTX Ctx;
2616 Ctx.HwDisEnMask = 0;
2617 Ctx.fAndOp = TRUE;
2618 Ctx.ByteMask = (UCHAR) ~((UCHAR)CCB_ENABLE_KEYBOARD_INTERRUPT | (UCHAR)CCB_ENABLE_MOUSE_INTERRUPT);
2619 TransCtrlCmd(pDevExt, &Ctx);
2620 if (!NT_SUCCESS(Ctx.Status))
2658 Ctx.HwDisEnMask = pDevExt->HardwarePresent;
2659 Ctx.fAndOp = FALSE;
2660 Ctx.ByteMask = (pDevExt->HardwarePresent & KEYBOARD_HARDWARE_PRESENT)
2662 Ctx.ByteMask |= (UCHAR)
2664 TransCtrlCmd(pDevExt, &Ctx);
2665 if (!NT_SUCCESS(Ctx.Status))