Ignore:
Timestamp:
Aug 20, 2000, 5:17:00 PM (25 years ago)
Author:
phaller
Message:

Fix of broken build due to WINE sync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NTDLL/nt.cpp

    r3807 r4059  
    1 /* $Id: nt.cpp,v 1.8 2000-07-07 19:06:18 sandervl Exp $ */
     1/* $Id: nt.cpp,v 1.9 2000-08-20 15:16:55 phaller Exp $ */
    22
    33
     
    809809  return 0;
    810810}
     811
     812/******************************************************************************
     813 *  NtPowerInformation                          [NTDLL]
     814 *
     815 */
     816NTSTATUS WINAPI NtPowerInformation(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5)
     817{
     818  dprintf(("NTDLL: NtPowerInformation(0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx) not implemented\n",
     819           x1,x2,x3,x4,x5));
     820  return 0;
     821}
     822
     823/******************************************************************************
     824 *  NtAllocateLocallyUniqueId
     825 *
     826 * FIXME: the server should do that
     827 */
     828NTSTATUS WINAPI NtAllocateLocallyUniqueId(PLUID pLuid)
     829{
     830  static LUID luid;
     831
     832  dprintf(("NTDLL: NtAllocateLocallyUniqueId %p (0x%08lx%08lx)\n",
     833           pLuid,
     834           luid.HighPart,
     835           luid.LowPart));
     836
     837  luid.LowPart++;        // PH: why don't we use 64-bit arithmetic here?
     838  if (luid.LowPart == 0) // handle overflow
     839    luid.HighPart++;
     840
     841  pLuid->LowPart  = luid.LowPart;
     842  pLuid->HighPart = luid.HighPart;
     843  return STATUS_SUCCESS;
     844}
     845
Note: See TracChangeset for help on using the changeset viewer.