From 9d931a84213b33727536c4b80320ce93d924ae8d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 26 Sep 2006 17:22:15 +0000 Subject: r18926: Add some useful macros. Guenther (This used to be commit 9be5cb27e4da061ddf03ae6321c29890f6cf585b) --- source3/include/gpo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/gpo.h') diff --git a/source3/include/gpo.h b/source3/include/gpo.h index 65c96c31e6..cdec1628d0 100644 --- a/source3/include/gpo.h +++ b/source3/include/gpo.h @@ -35,6 +35,9 @@ enum GPO_LINK_TYPE { #define GPO_LIST_FLAG_MACHINE 0x00000001 #define GPO_LIST_FLAG_SITEONLY 0x00000002 +#define GPO_VERSION_USER(x) (x >> 16) +#define GPO_VERSION_MACHINE(x) (x & 0xffff) + struct GROUP_POLICY_OBJECT { uint32 options; /* GPFLAGS_* */ uint32 version; -- cgit