Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
651 B

#include <windows.h>
#include <ole2.h>
#include <stdlib.h>
#ifndef _SYS_GUID_OPERATORS_
//+-------------------------------------------------------------------------
//
// Function: IsEqualGUID (public)
//
// Synopsis: compares two guids for equality
//
// Arguments: [guid1] - the first guid
// [guid2] - the second guid to compare the first one with
//
// Returns: TRUE if equal, FALSE if not.
//
//--------------------------------------------------------------------------
extern "C" BOOL __stdcall IsEqualGUID(GUID &guid1, GUID &guid2)
{
return !memcmp((void *)&guid1,(void *)&guid2,sizeof(GUID));
}
#endif