[NTOSKRNL]

Stub support for IOCTL_WMI_SET_MARK

CORE-9699

svn path=/trunk/; revision=67782
This commit is contained in:
Pierre Schweitzer 2015-05-16 20:00:34 +00:00
parent d6510c4911
commit 37811969c0

View file

@ -63,6 +63,12 @@ typedef struct _WMI_NOTIFICATION
WMI_GUID_OBJECT_ENTRY GuidObjects[0]; WMI_GUID_OBJECT_ENTRY GuidObjects[0];
} WMI_NOTIFICATION, *PWMI_NOTIFICATION; } WMI_NOTIFICATION, *PWMI_NOTIFICATION;
typedef struct _WMI_SET_MARK
{
ULONG Flags;
WCHAR Mark[1];
} WMI_SET_MARK, *PWMI_SET_MARK;
PDEVICE_OBJECT WmipServiceDeviceObject; PDEVICE_OBJECT WmipServiceDeviceObject;
PDEVICE_OBJECT WmipAdminDeviceObject; PDEVICE_OBJECT WmipAdminDeviceObject;
FAST_IO_DISPATCH WmipFastIoDispatch; FAST_IO_DISPATCH WmipFastIoDispatch;
@ -427,6 +433,14 @@ WmipOpenGuidForEvents(
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
static
NTSTATUS
WmiSetMark(PWMI_SET_MARK Buffer, ULONG Length)
{
UNIMPLEMENTED_DBGBREAK();
return STATUS_SUCCESS;
}
NTSTATUS NTSTATUS
NTAPI NTAPI
WmipIoControl( WmipIoControl(
@ -491,6 +505,18 @@ WmipIoControl(
break; break;
} }
case IOCTL_WMI_SET_MARK:
{
if (InputLength < FIELD_OFFSET(WMI_SET_MARK, Mark))
{
Status = STATUS_UNSUCCESSFUL;
break;
}
Status = WmiSetMark(Buffer, InputLength);
break;
}
default: default:
DPRINT1("Unsupported yet IOCTL: 0x%lx\n", IoControlCode); DPRINT1("Unsupported yet IOCTL: 0x%lx\n", IoControlCode);
Status = STATUS_INVALID_DEVICE_REQUEST; Status = STATUS_INVALID_DEVICE_REQUEST;