* Properly mark some unreferenced parameters as such.
[AFD]
* Properly fix a debug print specifier.

svn path=/trunk/; revision=58968
This commit is contained in:
Amine Khaldi 2013-05-08 11:55:37 +00:00
parent 8901f8a911
commit 689682751e
2 changed files with 7 additions and 1 deletions

View file

@ -38,6 +38,10 @@ BeepDPC(IN PKDPC Dpc,
{
PDEVICE_EXTENSION DeviceExtension = DeviceObject->DeviceExtension;
UNREFERENCED_PARAMETER(Dpc);
UNREFERENCED_PARAMETER(SystemArgument1);
UNREFERENCED_PARAMETER(SystemArgument2);
/* Stop the beep */
HalMakeBeep(0);
@ -368,6 +372,8 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
UNICODE_STRING DeviceName = RTL_CONSTANT_STRING(L"\\Device\\Beep");
NTSTATUS Status;
UNREFERENCED_PARAMETER(RegistryPath);
/* Create the device */
Status = IoCreateDevice(DriverObject,
sizeof(DEVICE_EXTENSION),

View file

@ -116,7 +116,7 @@ AfdSetInfo( PDEVICE_OBJECT DeviceObject, PIRP Irp,
_SEH2_TRY {
switch (InfoReq->InformationClass) {
case AFD_INFO_BLOCKING_MODE:
AFD_DbgPrint(MID_TRACE,("Blocking mode set to %c\n", InfoReq->Information.Boolean));
AFD_DbgPrint(MID_TRACE,("Blocking mode set to %u\n", InfoReq->Information.Boolean));
FCB->NonBlocking = InfoReq->Information.Boolean;
break;
case AFD_INFO_INLINING_MODE: