Declare only one instance of GUID_NULL.

This commit is contained in:
Albert den Haan 1999-07-24 10:20:50 +00:00 committed by Alexandre Julliard
parent 6231a174c6
commit dcbb9c0f4c
2 changed files with 9 additions and 8 deletions

View File

@ -20,6 +20,4 @@
const GUID name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
DEFINE_GUID(GUID_NULL, 0,0,0,0,0,0,0,0,0,0,0);
#endif /* __WINE_INITGUID_H */

View File

@ -1,12 +1,17 @@
#ifndef __guid_h_
#define __guid_h_
#define INITGUID
/* FIXME: we include all the header files containing GUIDs
* so that the corresponding variables get defined. But they
* don't even all belong to the same DLL !!!
*
* Therefore, as the builtin DLL's get teased apart (e.g. for elf-dlls)
* then this file will have to be partitioned into per dll files.
*/
#include "initguid.h"
#include "shlguid.h"
#include "docobj.h"
#include "olectl.h"
#include "oleidl.h"
#include "oaidl.h"
#include "olectl.h"
@ -24,7 +29,5 @@
#include "shlobj.h"
#include "docobj.h"
/* FIXME: don't really know where to put this. */
/* and now for the one assumed GUID... */
DEFINE_GUID(GUID_NULL, 0,0,0,0,0,0,0,0,0,0,0);
#endif