AllocateLocallyUniqueId

  BOOL AllocateLocallyUniqueId(Luid)    
  PLUID Luid;    

The AllocateLocallyUniqueId function allocates a locally unique ID (LUID).

Parameters

Luid

Points to a buffer that receives the allocated LUID.

Return Value

The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.