summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-15 04:16:15 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-15 17:40:34 +0200
commit51fbc88fc24c23d17f976217ef907fd7e57fe4ab (patch)
treec327c30df880131028c24d5928cad0bb40575199 /source4/librpc/idl
parent82ee6ee5035a6265aa97da0befd8d65358c89c9d (diff)
downloadsamba-51fbc88fc24c23d17f976217ef907fd7e57fe4ab.tar.gz
samba-51fbc88fc24c23d17f976217ef907fd7e57fe4ab.tar.bz2
samba-51fbc88fc24c23d17f976217ef907fd7e57fe4ab.zip
Get code closer to compiling without errors, fix formatting, add docstrings.
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/wmi.idl13
1 files changed, 9 insertions, 4 deletions
diff --git a/source4/librpc/idl/wmi.idl b/source4/librpc/idl/wmi.idl
index 11f6b1beaf..fe16e5e8ef 100644
--- a/source4/librpc/idl/wmi.idl
+++ b/source4/librpc/idl/wmi.idl
@@ -417,6 +417,13 @@ interface IWbemClassObject : IUnknown
DEFAULT_FLAG_INHERITED = 2
} DEFAULT_FLAGS;
+ typedef struct {
+ WbemProperty property;
+ uint8 default_flags;
+ [switch_is(property.desc->cimtype)] CIMVAR default_values;
+ } WbemClassProperty;
+
+
typedef [public,nopush,nopull,noprint,flag(NDR_NOALIGN)] struct
{
uint8 u_0;
@@ -425,9 +432,7 @@ interface IWbemClassObject : IUnknown
CIMSTRINGS __DERIVATION;
WbemQualifiers qualifiers;
uint32 __PROPERTY_COUNT;
- WbemProperty properties[__PROPERTY_COUNT];
- uint8 default_flags[__PROPERTY_COUNT];
- uint32 /*CIMVAR*/ default_values[__PROPERTY_COUNT];
+ WbemClassProperty properties[__PROPERTY_COUNT];
} WbemClass;
typedef [public] struct
@@ -452,7 +457,7 @@ interface IWbemClassObject : IUnknown
uint8 u1_0;
[relative,charset(UTF16)] uint16 *__CLASS;
uint8 *default_flags;
- uint32 /*CIMVAR*/ *data;
+ uint32 *data;
uint32 u2_4;
uint8 u3_1;
} WbemInstance;