Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 643 of file rpc.c.
Referenced by OpenEventLogA().
{ UNICODE_STRING ModuleNameW; NTSTATUS Status; if ((MajorVersion != 1) || (MinorVersion != 1)) return STATUS_INVALID_PARAMETER; /* RegModuleName must be an empty string */ if (RegModuleName->Length > 0) return STATUS_INVALID_PARAMETER; Status = RtlAnsiStringToUnicodeString(&ModuleNameW, (PANSI_STRING)ModuleName, TRUE); if (!NT_SUCCESS(Status)) return Status; /* FIXME: Must verify that caller has read access */ Status = ElfCreateEventLogHandle((PLOGHANDLE *)LogHandle, ModuleNameW.Buffer, FALSE); RtlFreeUnicodeString(&ModuleNameW); return Status; }