38#define CIM_TYPE_MASK 0x00000fff
40#define COL_TYPE_MASK 0x0000ffff
41#define COL_FLAG_DYNAMIC 0x00010000
42#define COL_FLAG_KEY 0x00020000
43#define COL_FLAG_METHOD 0x00040000
106#define TABLE_FLAG_DYNAMIC 0x00000001
280static const WCHAR class_processW[] = {
'W',
'i',
'n',
'3',
'2',
'_',
'P',
'r',
'o',
'c',
'e',
's',
's',0};
281static const WCHAR class_serviceW[] = {
'W',
'i',
'n',
'3',
'2',
'_',
'S',
'e',
'r',
'v',
'i',
'c',
'e',0};
282static const WCHAR class_stdregprovW[] = {
'S',
't',
'd',
'R',
'e',
'g',
'P',
'r',
'o',
'v',0};
283static const WCHAR class_systemsecurityW[] = {
'_',
'_',
'S',
'y',
's',
't',
'e',
'm',
'S',
'e',
'c',
'u',
'r',
'i',
't',
'y',0};
289static const WCHAR method_enumvaluesW[] = {
'E',
'n',
'u',
'm',
'V',
'a',
'l',
'u',
'e',
's',0};
292static const WCHAR method_getstringvalueW[] = {
'G',
'e',
't',
'S',
't',
'r',
'i',
'n',
'g',
'V',
'a',
'l',
'u',
'e',0};
293static const WCHAR method_pauseserviceW[] = {
'P',
'a',
'u',
's',
'e',
'S',
'e',
'r',
'v',
'i',
'c',
'e',0};
294static const WCHAR method_resumeserviceW[] = {
'R',
'e',
's',
'u',
'm',
'e',
'S',
'e',
'r',
'v',
'i',
'c',
'e',0};
296static const WCHAR method_startserviceW[] = {
'S',
't',
'a',
'r',
't',
'S',
'e',
'r',
'v',
'i',
'c',
'e',0};
297static const WCHAR method_stopserviceW[] = {
'S',
't',
'o',
'p',
'S',
'e',
'r',
'v',
'i',
'c',
'e',0};
302static const WCHAR param_returnvalueW[] = {
'R',
'e',
't',
'u',
'r',
'n',
'V',
'a',
'l',
'u',
'e',0};
304static const WCHAR param_subkeynameW[] = {
's',
'S',
'u',
'b',
'K',
'e',
'y',
'N',
'a',
'm',
'e',0};
308static const WCHAR param_valuenameW[] = {
's',
'V',
'a',
'l',
'u',
'e',
'N',
'a',
'm',
'e',0};
static void * heap_alloc(size_t len)
#define MultiByteToWideChar
const struct property * propval
const struct keyword * next
const struct property * next
enum fill_status(* fill)(struct table *, const struct expr *cond)
const struct column * columns
const struct property * proplist
const struct keyword * keywordlist
void free_table(struct table *) DECLSPEC_HIDDEN
void free_columns(struct column *, UINT) DECLSPEC_HIDDEN
struct query * create_query(void) DECLSPEC_HIDDEN
static const WCHAR method_enumvaluesW[]
void destroy_view(struct view *) DECLSPEC_HIDDEN
HRESULT security_set_sd(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
struct query * addref_query(struct query *) DECLSPEC_HIDDEN
HRESULT create_signature(const WCHAR *, const WCHAR *, enum param_direction, IWbemClassObject **) DECLSPEC_HIDDEN
WCHAR * query_from_path(const struct path *) DECLSPEC_HIDDEN
static const WCHAR param_valuenameW[]
static const WCHAR class_serviceW[]
HRESULT() class_method(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **)
HRESULT WbemServices_create(const WCHAR *, LPVOID *) DECLSPEC_HIDDEN
static const WCHAR param_userW[]
HRESULT service_stop_service(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
BSTR get_method_name(const WCHAR *, UINT) DECLSPEC_HIDDEN
void init_table_list(void) DECLSPEC_HIDDEN
HRESULT get_column_index(const struct table *, const WCHAR *, UINT *) DECLSPEC_HIDDEN
HRESULT get_method(const struct table *, const WCHAR *, class_method **) DECLSPEC_HIDDEN
void release_table(struct table *) DECLSPEC_HIDDEN
static WCHAR * heap_strdupAW(const char *src)
struct table * get_view_table(const struct view *, UINT) DECLSPEC_HIDDEN
HRESULT WbemQualifierSet_create(const WCHAR *, const WCHAR *, LPVOID *) DECLSPEC_HIDDEN
static const WCHAR method_getownerW[]
HRESULT WbemLocator_create(LPVOID *) DECLSPEC_HIDDEN
static const WCHAR method_pauseserviceW[]
static const WCHAR method_enumkeyW[]
static const WCHAR param_namesW[]
static const WCHAR method_setsdW[]
HRESULT reg_enum_values(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
static const WCHAR method_startserviceW[]
HRESULT exec_query(const WCHAR *, IEnumWbemClassObject **) DECLSPEC_HIDDEN
static const WCHAR class_stdregprovW[]
static const WCHAR param_typesW[]
static const WCHAR method_createkeyW[]
static const WCHAR method_resumeserviceW[]
static const WCHAR param_valueW[]
static const WCHAR class_processW[]
void free_row_values(const struct table *, UINT) DECLSPEC_HIDDEN
HRESULT put_propval(const struct view *, UINT, const WCHAR *, VARIANT *, CIMTYPE) DECLSPEC_HIDDEN
static const WCHAR method_getstringvalueW[]
HRESULT get_value(const struct table *, UINT, UINT, LONGLONG *) DECLSPEC_HIDDEN
HRESULT service_resume_service(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
HRESULT parse_query(const WCHAR *, struct view **, struct list *) DECLSPEC_HIDDEN
BOOL add_table(struct table *) DECLSPEC_HIDDEN
SAFEARRAY * to_safearray(const struct array *, CIMTYPE) DECLSPEC_HIDDEN
static const WCHAR param_returnvalueW[]
HRESULT parse_path(const WCHAR *, struct path **) DECLSPEC_HIDDEN
void release_query(struct query *query) DECLSPEC_HIDDEN
void set_variant(VARTYPE, LONGLONG, void *, VARIANT *) DECLSPEC_HIDDEN
VARTYPE to_vartype(CIMTYPE) DECLSPEC_HIDDEN
struct table * grab_table(const WCHAR *) DECLSPEC_HIDDEN
BSTR get_value_bstr(const struct table *, UINT, UINT) DECLSPEC_HIDDEN
UINT get_type_size(CIMTYPE) DECLSPEC_HIDDEN
HRESULT get_propval(const struct view *, UINT, const WCHAR *, VARIANT *, CIMTYPE *, LONG *) DECLSPEC_HIDDEN
HRESULT reg_create_key(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
BOOL is_method(const struct table *, UINT) DECLSPEC_HIDDEN
struct table * addref_table(struct table *) DECLSPEC_HIDDEN
HRESULT to_longlong(VARIANT *, LONGLONG *, CIMTYPE *) DECLSPEC_HIDDEN
static const WCHAR param_sdW[]
static const WCHAR class_systemsecurityW[]
HRESULT service_start_service(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
static const WCHAR param_domainW[]
HRESULT process_get_owner(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
void clear_table(struct table *) DECLSPEC_HIDDEN
HRESULT eval_cond(const struct table *, UINT, const struct expr *, LONGLONG *, UINT *) DECLSPEC_HIDDEN
static const WCHAR prop_nameW[]
static const WCHAR method_getsdW[]
void free_path(struct path *) DECLSPEC_HIDDEN
HRESULT get_object(const WCHAR *, IWbemClassObject **) DECLSPEC_HIDDEN
struct table * create_table(const WCHAR *, UINT, const struct column *, UINT, UINT, BYTE *, enum fill_status(*)(struct table *, const struct expr *)) DECLSPEC_HIDDEN
IClientSecurity client_security DECLSPEC_HIDDEN
static WCHAR * heap_strdupW(const WCHAR *src)
HRESULT create_class_object(const WCHAR *, IEnumWbemClassObject *, UINT, struct record *, IWbemClassObject **) DECLSPEC_HIDDEN
HRESULT set_value(const struct table *, UINT, UINT, LONGLONG, CIMTYPE) DECLSPEC_HIDDEN
void free_query(struct query *) DECLSPEC_HIDDEN
static const WCHAR param_defkeyW[]
static const WCHAR method_stopserviceW[]
HRESULT execute_view(struct view *) DECLSPEC_HIDDEN
HRESULT security_get_sd(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
HRESULT reg_enum_key(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
static const WCHAR param_subkeynameW[]
HRESULT EnumWbemClassObject_create(struct query *, LPVOID *) DECLSPEC_HIDDEN
void destroy_array(struct array *, CIMTYPE) DECLSPEC_HIDDEN
BOOL is_result_prop(const struct view *, const WCHAR *) DECLSPEC_HIDDEN
HRESULT service_pause_service(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN
HRESULT get_properties(const struct view *, UINT, LONG, SAFEARRAY **) DECLSPEC_HIDDEN
HRESULT reg_get_stringvalue(IWbemClassObject *, IWbemClassObject *, IWbemClassObject **) DECLSPEC_HIDDEN