File: initguid.h

package info (click to toggle)
wine 0.0.20000109-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 22,652 kB
  • ctags: 59,973
  • sloc: ansic: 342,054; perl: 3,697; yacc: 3,059; tcl: 2,647; makefile: 2,466; lex: 1,494; sh: 394
file content (23 lines) | stat: -rw-r--r-- 565 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * defines a minimum set of macros create GUID's to keep the size 
 * small
 *
 * this file should be included into "only GUID definition *.h" like
 * shlguid.h
 */

#ifndef __WINE_INITGUID_H
#define __WINE_INITGUID_H

#include "wtypes.h"

/*****************************************************************************
 * Macros to declare the GUIDs
 */
#undef DEFINE_GUID

#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
        const GUID name = \
	{ l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }

#endif /* __WINE_INITGUID_H */