UNICODE_STRING DirName;
HANDLE DirHandle;
NTSTATUS Status;
- POBJDIR_INFORMATION DirInfo;
+ PDIRECTORY_BASIC_INFORMATION DirInfo;
ULONG BufferLength;
ULONG DataLength;
ULONG Index;
return(Status);
}
- BufferLength = sizeof(OBJDIR_INFORMATION) +
+ BufferLength = sizeof(DIRECTORY_BASIC_INFORMATION) +
2 * MAX_PATH * sizeof(WCHAR);
DirInfo = HeapAlloc(GetProcessHeap(),
HEAP_ZERO_MEMORY,
4,
30000,
NULL);
- DPRINT1("CreateNamedPipeW() done\n");
+ DPRINT("CreateNamedPipeW() done\n");
if (Service->ControlPipeHandle == INVALID_HANDLE_VALUE)
{
DPRINT1("Failed to create control pipe!\n");
}
else
{
- DPRINT1("Process Id: %lu Handle %lx\n",
- ProcessInformation.dwProcessId,
- ProcessInformation.hProcess);
- DPRINT1("Tread Id: %lu Handle %lx\n",
- ProcessInformation.dwThreadId,
- ProcessInformation.hThread);
+ DPRINT("Process Id: %lu Handle %lx\n",
+ ProcessInformation.dwProcessId,
+ ProcessInformation.hProcess);
+ DPRINT("Thread Id: %lu Handle %lx\n",
+ ProcessInformation.dwThreadId,
+ ProcessInformation.hThread);
/* Get process and thread ids */
Service->ProcessId = ProcessInformation.dwProcessId;
/* FIXME: connect control pipe */
if (ConnectNamedPipe(Service->ControlPipeHandle, NULL))
{
- DPRINT1("Control pipe connected!\n");
+ DPRINT("Control pipe connected!\n");
Status = STATUS_SUCCESS;
}
else