UuidIsNil

The UuidIsNil function determines if a UUID is a nil-valued UUID.

#include <rpc.h>
int RPC_ENTRY UuidIsNil( 
  UUID *  Uuid,         
  RPC_STATUS *  Status  
);
 

Parameters

Uuid
Specifies a UUID to test for nil value.
Status
Returns any errors that may occur, and will typically be set by the function to RPC_S_OK upon return.

Remarks

An application calls the UuidIsNil routine to determine whether the specified UUID is a nil-valued UUID. This routine acts as though the application called the UuidCreateNil routine, and then called the UuidEqual routine to compare the returned nil-value UUID to the UUID specified in the Uuid argument.

Upon completion, one of the following is returned:

Returned Value Meaning
TRUE The Uuid argument is a nil-valued UUID.
FALSE The Uuid argument is not a nil-valued UUID.

QuickInfo

  Windows NT: Yes
  Windows CE: Unsupported.
  Header: Declared in rpcdce.h.
  Import Library: Link with rpcrt4.lib.

See Also

UuidCreate