mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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
|
||||
IoCreateController(IN ULONG Size)
|
||||
{
|
||||
PCONTROLLER_OBJECT Controller;
|
||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||
HANDLE Handle;
|
||||
NTSTATUS Status;
|
||||
PAGED_CODE();
|
||||
PCONTROLLER_OBJECT Controller;
|
||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||
HANDLE Handle;
|
||||
NTSTATUS Status;
|
||||
PAGED_CODE();
|
||||
|
||||
/* Initialize an empty OBA */
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
NULL,
|
||||
OBJ_KERNEL_HANDLE,
|
||||
NULL,
|
||||
NULL);
|
||||
/* Initialize an empty OBA */
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
NULL,
|
||||
OBJ_KERNEL_HANDLE,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
/* Create the Object */
|
||||
Status = ObCreateObject(KernelMode,
|
||||
IoControllerObjectType,
|
||||
&ObjectAttributes,
|
||||
KernelMode,
|
||||
NULL,
|
||||
sizeof(CONTROLLER_OBJECT) + Size,
|
||||
0,
|
||||
0,
|
||||
(PVOID*)&Controller);
|
||||
/* Create the Object */
|
||||
Status = ObCreateObject(KernelMode,
|
||||
IoControllerObjectType,
|
||||
&ObjectAttributes,
|
||||
KernelMode,
|
||||
NULL,
|
||||
sizeof(CONTROLLER_OBJECT) + Size,
|
||||
0,
|
||||
0,
|
||||
(PVOID*)&Controller);
|
||||
if (!NT_SUCCESS(Status)) return NULL;
|
||||
|
||||
/* Insert it */
|
||||
|
@ -88,7 +88,7 @@ IoCreateController(IN ULONG Size)
|
|||
1,
|
||||
(PVOID*)&Controller,
|
||||
&Handle);
|
||||
if (!NT_SUCCESS(Status)) return NULL;
|
||||
if (!NT_SUCCESS(Status)) return NULL;
|
||||
|
||||
/* Close the dummy handle */
|
||||
ObCloseHandle(Handle, KernelMode);
|
||||
|
|
Loading…
Reference in a new issue