mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 00:54:18 +00:00
[NTOSKRNL] Fix indentation. No code changes.
This commit is contained in:
parent
b2819c353c
commit
e8d16d0a7d
1 changed files with 22 additions and 22 deletions
|
@ -56,29 +56,29 @@ PCONTROLLER_OBJECT
|
||||||
NTAPI
|
NTAPI
|
||||||
IoCreateController(IN ULONG Size)
|
IoCreateController(IN ULONG Size)
|
||||||
{
|
{
|
||||||
PCONTROLLER_OBJECT Controller;
|
PCONTROLLER_OBJECT Controller;
|
||||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||||
HANDLE Handle;
|
HANDLE Handle;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
/* Initialize an empty OBA */
|
/* Initialize an empty OBA */
|
||||||
InitializeObjectAttributes(&ObjectAttributes,
|
InitializeObjectAttributes(&ObjectAttributes,
|
||||||
NULL,
|
NULL,
|
||||||
OBJ_KERNEL_HANDLE,
|
OBJ_KERNEL_HANDLE,
|
||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
/* Create the Object */
|
/* Create the Object */
|
||||||
Status = ObCreateObject(KernelMode,
|
Status = ObCreateObject(KernelMode,
|
||||||
IoControllerObjectType,
|
IoControllerObjectType,
|
||||||
&ObjectAttributes,
|
&ObjectAttributes,
|
||||||
KernelMode,
|
KernelMode,
|
||||||
NULL,
|
NULL,
|
||||||
sizeof(CONTROLLER_OBJECT) + Size,
|
sizeof(CONTROLLER_OBJECT) + Size,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
(PVOID*)&Controller);
|
(PVOID*)&Controller);
|
||||||
if (!NT_SUCCESS(Status)) return NULL;
|
if (!NT_SUCCESS(Status)) return NULL;
|
||||||
|
|
||||||
/* Insert it */
|
/* Insert it */
|
||||||
|
@ -88,7 +88,7 @@ IoCreateController(IN ULONG Size)
|
||||||
1,
|
1,
|
||||||
(PVOID*)&Controller,
|
(PVOID*)&Controller,
|
||||||
&Handle);
|
&Handle);
|
||||||
if (!NT_SUCCESS(Status)) return NULL;
|
if (!NT_SUCCESS(Status)) return NULL;
|
||||||
|
|
||||||
/* Close the dummy handle */
|
/* Close the dummy handle */
|
||||||
ObCloseHandle(Handle, KernelMode);
|
ObCloseHandle(Handle, KernelMode);
|
||||||
|
|
Loading…
Reference in a new issue