Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 37 of file directory.c.
{ UNICODE_STRING SrcPath; UNICODE_STRING DstPath; NTSTATUS Status; BOOL bResult; Status = RtlCreateUnicodeStringFromAsciiz(&SrcPath, (LPSTR)lpSourcePath); if (!NT_SUCCESS(Status)) { SetLastError (RtlNtStatusToDosError (Status)); return FALSE; } Status = RtlCreateUnicodeStringFromAsciiz(&DstPath, (LPSTR)lpDestinationPath); if (!NT_SUCCESS(Status)) { RtlFreeUnicodeString(&SrcPath); SetLastError (RtlNtStatusToDosError (Status)); return FALSE; } bResult = CopyProfileDirectoryW(SrcPath.Buffer, DstPath.Buffer, dwFlags); RtlFreeUnicodeString(&DstPath); RtlFreeUnicodeString(&SrcPath); return bResult; }