mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[NTOSKRNL]
Stub support for IOCTL_WMI_SET_MARK CORE-9699 svn path=/trunk/; revision=67782
This commit is contained in:
parent
d6510c4911
commit
37811969c0
1 changed files with 26 additions and 0 deletions
|
@ -63,6 +63,12 @@ typedef struct _WMI_NOTIFICATION
|
|||
WMI_GUID_OBJECT_ENTRY GuidObjects[0];
|
||||
} 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 WmipAdminDeviceObject;
|
||||
FAST_IO_DISPATCH WmipFastIoDispatch;
|
||||
|
@ -427,6 +433,14 @@ WmipOpenGuidForEvents(
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static
|
||||
NTSTATUS
|
||||
WmiSetMark(PWMI_SET_MARK Buffer, ULONG Length)
|
||||
{
|
||||
UNIMPLEMENTED_DBGBREAK();
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
WmipIoControl(
|
||||
|
@ -491,6 +505,18 @@ WmipIoControl(
|
|||
break;
|
||||
}
|
||||
|
||||
case IOCTL_WMI_SET_MARK:
|
||||
{
|
||||
if (InputLength < FIELD_OFFSET(WMI_SET_MARK, Mark))
|
||||
{
|
||||
Status = STATUS_UNSUCCESSFUL;
|
||||
break;
|
||||
}
|
||||
|
||||
Status = WmiSetMark(Buffer, InputLength);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
DPRINT1("Unsupported yet IOCTL: 0x%lx\n", IoControlCode);
|
||||
Status = STATUS_INVALID_DEVICE_REQUEST;
|
||||
|
|
Loading…
Reference in a new issue