/* INCLUDES *****************************************************************/
#include <limits.h>
-#include <ddk/ntddk.h>
+#define NTOS_MODE_KERNEL
+#include <ntos.h>
#include <ntos/synch.h>
#include <internal/pool.h>
#include <internal/ps.h>
PKSEMAPHORE Semaphore;
NTSTATUS Status;
- Status = ObCreateObject(SemaphoreHandle,
+ Status = ObRosCreateObject(SemaphoreHandle,
DesiredAccess,
ObjectAttributes,
ExSemaphoreType,