| Line |  | 
|---|
| 1 | /* $Id: initguid.h,v 1.1 1999-05-24 20:19:13 ktk Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * defines a minimum set of macros create GUID's to keep the size | 
|---|
| 5 | * small | 
|---|
| 6 | * | 
|---|
| 7 | * this file should be included into "only GUID definition *.h" like | 
|---|
| 8 | * shlguid.h | 
|---|
| 9 | */ | 
|---|
| 10 |  | 
|---|
| 11 | #ifndef __INIT_GUID_H | 
|---|
| 12 | #define __INIT_GUID_H | 
|---|
| 13 |  | 
|---|
| 14 | #include "wtypes.h" | 
|---|
| 15 |  | 
|---|
| 16 | /***************************************************************************** | 
|---|
| 17 | * Macros to declare the GUIDs | 
|---|
| 18 | */ | 
|---|
| 19 | #undef DEFINE_GUID | 
|---|
| 20 |  | 
|---|
| 21 | #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ | 
|---|
| 22 | const GUID name = \ | 
|---|
| 23 | { l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } } | 
|---|
| 24 |  | 
|---|
| 25 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.