2.2.9 WBEM_QUERY_FLAG_TYPE Enumeration

The WBEM_QUERY_FLAG_TYPE enumeration gives information about the type of the flag.

 typedef [v1_enum] enum tag_WBEM_QUERY_FLAG_TYPE
 {
   WBEM_FLAG_DEEP = 0,
   WBEM_FLAG_SHALLOW = 1,
   WBEM_FLAG_PROTOTYPE = 2
 } WBEM_QUERY_FLAG_TYPE;

WBEM_FLAG_DEEP:  If used in IWbemServices::CreateClassEnum or IWbemServices::CreateClassEnumAsync, the WBEM_FLAG_DEEP constant causes the enumeration to return all the subclasses in the hierarchy of a specified class but to not return the class itself.

If used in IWbemServices::CreateInstanceEnum or IWbemServices::CreateInstanceEnumAsync, this constant causes the enumeration to return the instances of this class and also the instances of subclasses in the hierarchy of the class.

WBEM_FLAG_SHALLOW:  If used in IWbemServices::CreateClassEnum or IWbemServices::CreateClassEnumAsync, the WBEM_FLAG_SHALLOW constant causes the enumeration to return the immediate subclasses of a specified class.

If used in IWbemServices::CreateInstanceEnum or IWbemServices::CreateInstanceEnumAsync, this constant causes the enumeration to return only the instances of this class and excludes all instances of subclasses.

WBEM_FLAG_PROTOTYPE:  This flag is used for prototyping. It does not run the query; instead, it returns the Prototype Result Object as specified in section 2.2.4.1.