home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 September / VPR0009A.BIN / VS60SP4JPN / support / cmdtree.h < prev    next >
C/C++ Source or Header  |  1999-02-28  |  32KB  |  911 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.01.75 */
  5. /* at Mon Jan 11 19:57:55 1999
  6.  */
  7. /* Compiler settings for cmdtree.idl:
  8.     Oicf (OptLev=i2), W1, Zp2, env=Win32, ms_ext, c_ext
  9.     error checks: allocation ref bounds_check enum stub_data , no_format_optimization
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __cmdtree_h__
  20. #define __cmdtree_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __ICommandTree_FWD_DEFINED__
  29. #define __ICommandTree_FWD_DEFINED__
  30. typedef interface ICommandTree ICommandTree;
  31. #endif     /* __ICommandTree_FWD_DEFINED__ */
  32.  
  33.  
  34. #ifndef __IQuery_FWD_DEFINED__
  35. #define __IQuery_FWD_DEFINED__
  36. typedef interface IQuery IQuery;
  37. #endif     /* __IQuery_FWD_DEFINED__ */
  38.  
  39.  
  40. /* header files for imported files */
  41. #include "oledb.h"
  42.  
  43. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  44. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  45.  
  46. /****************************************
  47.  * Generated header for interface: __MIDL_itf_cmdtree_0000
  48.  * at Mon Jan 11 19:57:55 1999
  49.  * using MIDL 3.01.75
  50.  ****************************************/
  51. /* [local] */ 
  52.  
  53.  
  54. //+---------------------------------------------------------------------------
  55. //
  56. //  Microsoft OLE DB
  57. //  Copyright (C) Microsoft Corporation, 1994 - 1998.
  58. //
  59. //----------------------------------------------------------------------------
  60.  
  61. #include <pshpack2.h>    // 2-byte structure packing
  62.  
  63.  
  64.  
  65. extern RPC_IF_HANDLE __MIDL_itf_cmdtree_0000_v0_0_c_ifspec;
  66. extern RPC_IF_HANDLE __MIDL_itf_cmdtree_0000_v0_0_s_ifspec;
  67.  
  68. #ifndef __CommandTreeStructureDefinitions_INTERFACE_DEFINED__
  69. #define __CommandTreeStructureDefinitions_INTERFACE_DEFINED__
  70.  
  71. /****************************************
  72.  * Generated header for interface: CommandTreeStructureDefinitions
  73.  * at Mon Jan 11 19:57:55 1999
  74.  * using MIDL 3.01.75
  75.  ****************************************/
  76. /* [auto_handle][unique][uuid] */ 
  77.  
  78.  
  79. typedef WORD DBCOMMANDOP;
  80.  
  81.  
  82. enum DBCOMMANDOPENUM
  83.     {    DBOP_scalar_constant    = 0,
  84.     DBOP_DEFAULT    = DBOP_scalar_constant + 1,
  85.     DBOP_NULL    = DBOP_DEFAULT + 1,
  86.     DBOP_bookmark_name    = DBOP_NULL + 1,
  87.     DBOP_catalog_name    = DBOP_bookmark_name + 1,
  88.     DBOP_column_name    = DBOP_catalog_name + 1,
  89.     DBOP_schema_name    = DBOP_column_name + 1,
  90.     DBOP_outall_name    = DBOP_schema_name + 1,
  91.     DBOP_qualifier_name    = DBOP_outall_name + 1,
  92.     DBOP_qualified_column_name    = DBOP_qualifier_name + 1,
  93.     DBOP_table_name    = DBOP_qualified_column_name + 1,
  94.     DBOP_nested_table_name    = DBOP_table_name + 1,
  95.     DBOP_nested_column_name    = DBOP_nested_table_name + 1,
  96.     DBOP_row    = DBOP_nested_column_name + 1,
  97.     DBOP_table    = DBOP_row + 1,
  98.     DBOP_sort    = DBOP_table + 1,
  99.     DBOP_distinct    = DBOP_sort + 1,
  100.     DBOP_distinct_order_preserving    = DBOP_distinct + 1,
  101.     DBOP_alias    = DBOP_distinct_order_preserving + 1,
  102.     DBOP_cross_join    = DBOP_alias + 1,
  103.     DBOP_union_join    = DBOP_cross_join + 1,
  104.     DBOP_inner_join    = DBOP_union_join + 1,
  105.     DBOP_left_semi_join    = DBOP_inner_join + 1,
  106.     DBOP_right_semi_join    = DBOP_left_semi_join + 1,
  107.     DBOP_left_anti_semi_join    = DBOP_right_semi_join + 1,
  108.     DBOP_right_anti_semi_join    = DBOP_left_anti_semi_join + 1,
  109.     DBOP_left_outer_join    = DBOP_right_anti_semi_join + 1,
  110.     DBOP_right_outer_join    = DBOP_left_outer_join + 1,
  111.     DBOP_full_outer_join    = DBOP_right_outer_join + 1,
  112.     DBOP_natural_join    = DBOP_full_outer_join + 1,
  113.     DBOP_natural_left_outer_join    = DBOP_natural_join + 1,
  114.     DBOP_natural_right_outer_join    = DBOP_natural_left_outer_join + 1,
  115.     DBOP_natural_full_outer_join    = DBOP_natural_right_outer_join + 1,
  116.     DBOP_set_intersection    = DBOP_natural_full_outer_join + 1,
  117.     DBOP_set_union    = DBOP_set_intersection + 1,
  118.     DBOP_set_left_difference    = DBOP_set_union + 1,
  119.     DBOP_set_right_difference    = DBOP_set_left_difference + 1,
  120.     DBOP_set_anti_difference    = DBOP_set_right_difference + 1,
  121.     DBOP_bag_intersection    = DBOP_set_anti_difference + 1,
  122.     DBOP_bag_union    = DBOP_bag_intersection + 1,
  123.     DBOP_bag_left_difference    = DBOP_bag_union + 1,
  124.     DBOP_bag_right_difference    = DBOP_bag_left_difference + 1,
  125.     DBOP_bag_anti_difference    = DBOP_bag_right_difference + 1,
  126.     DBOP_division    = DBOP_bag_anti_difference + 1,
  127.     DBOP_relative_sampling    = DBOP_division + 1,
  128.     DBOP_absolute_sampling    = DBOP_relative_sampling + 1,
  129.     DBOP_transitive_closure    = DBOP_absolute_sampling + 1,
  130.     DBOP_recursive_union    = DBOP_transitive_closure + 1,
  131.     DBOP_aggregate    = DBOP_recursive_union + 1,
  132.     DBOP_remote_table    = DBOP_aggregate + 1,
  133.     DBOP_select    = DBOP_remote_table + 1,
  134.     DBOP_order_preserving_select    = DBOP_select + 1,
  135.     DBOP_project    = DBOP_order_preserving_select + 1,
  136.     DBOP_project_order_preserving    = DBOP_project + 1,
  137.     DBOP_top    = DBOP_project_order_preserving + 1,
  138.     DBOP_top_percent    = DBOP_top + 1,
  139.     DBOP_top_plus_ties    = DBOP_top_percent + 1,
  140.     DBOP_top_percent_plus_ties    = DBOP_top_plus_ties + 1,
  141.     DBOP_rank    = DBOP_top_percent_plus_ties + 1,
  142.     DBOP_rank_ties_equally    = DBOP_rank + 1,
  143.     DBOP_rank_ties_equally_and_skip    = DBOP_rank_ties_equally + 1,
  144.     DBOP_navigate    = DBOP_rank_ties_equally_and_skip + 1,
  145.     DBOP_nesting    = DBOP_navigate + 1,
  146.     DBOP_unnesting    = DBOP_nesting + 1,
  147.     DBOP_nested_apply    = DBOP_unnesting + 1,
  148.     DBOP_cross_tab    = DBOP_nested_apply + 1,
  149.     DBOP_is_NULL    = DBOP_cross_tab + 1,
  150.     DBOP_is_NOT_NULL    = DBOP_is_NULL + 1,
  151.     DBOP_equal    = DBOP_is_NOT_NULL + 1,
  152.     DBOP_not_equal    = DBOP_equal + 1,
  153.     DBOP_less    = DBOP_not_equal + 1,
  154.     DBOP_less_equal    = DBOP_less + 1,
  155.     DBOP_greater    = DBOP_less_equal + 1,
  156.     DBOP_greater_equal    = DBOP_greater + 1,
  157.     DBOP_equal_all    = DBOP_greater_equal + 1,
  158.     DBOP_not_equal_all    = DBOP_equal_all + 1,
  159.     DBOP_less_all    = DBOP_not_equal_all + 1,
  160.     DBOP_less_equal_all    = DBOP_less_all + 1,
  161.     DBOP_greater_all    = DBOP_less_equal_all + 1,
  162.     DBOP_greater_equal_all    = DBOP_greater_all + 1,
  163.     DBOP_equal_any    = DBOP_greater_equal_all + 1,
  164.     DBOP_not_equal_any    = DBOP_equal_any + 1,
  165.     DBOP_less_any    = DBOP_not_equal_any + 1,
  166.     DBOP_less_equal_any    = DBOP_less_any + 1,
  167.     DBOP_greater_any    = DBOP_less_equal_any + 1,
  168.     DBOP_greater_equal_any    = DBOP_greater_any + 1,
  169.     DBOP_anybits    = DBOP_greater_equal_any + 1,
  170.     DBOP_allbits    = DBOP_anybits + 1,
  171.     DBOP_anybits_any    = DBOP_allbits + 1,
  172.     DBOP_allbits_any    = DBOP_anybits_any + 1,
  173.     DBOP_anybits_all    = DBOP_allbits_any + 1,
  174.     DBOP_allbits_all    = DBOP_anybits_all + 1,
  175.     DBOP_between    = DBOP_allbits_all + 1,
  176.     DBOP_between_unordered    = DBOP_between + 1,
  177.     DBOP_match    = DBOP_between_unordered + 1,
  178.     DBOP_match_unique    = DBOP_match + 1,
  179.     DBOP_match_partial    = DBOP_match_unique + 1,
  180.     DBOP_match_partial_unique    = DBOP_match_partial + 1,
  181.     DBOP_match_full    = DBOP_match_partial_unique + 1,
  182.     DBOP_match_full_unique    = DBOP_match_full + 1,
  183.     DBOP_scalar_parameter    = DBOP_match_full_unique + 1,
  184.     DBOP_scalar_function    = DBOP_scalar_parameter + 1,
  185.     DBOP_plus    = DBOP_scalar_function + 1,
  186.     DBOP_minus    = DBOP_plus + 1,
  187.     DBOP_times    = DBOP_minus + 1,
  188.     DBOP_over    = DBOP_times + 1,
  189.     DBOP_div    = DBOP_over + 1,
  190.     DBOP_modulo    = DBOP_div + 1,
  191.     DBOP_power    = DBOP_modulo + 1,
  192.     DBOP_like    = DBOP_power + 1,
  193.     DBOP_sounds_like    = DBOP_like + 1,
  194.     DBOP_like_any    = DBOP_sounds_like + 1,
  195.     DBOP_like_all    = DBOP_like_any + 1,
  196.     DBOP_is_INVALID    = DBOP_like_all + 1,
  197.     DBOP_is_TRUE    = DBOP_is_INVALID + 1,
  198.     DBOP_is_FALSE    = DBOP_is_TRUE + 1,
  199.     DBOP_and    = DBOP_is_FALSE + 1,
  200.     DBOP_or    = DBOP_and + 1,
  201.     DBOP_xor    = DBOP_or + 1,
  202.     DBOP_equivalent    = DBOP_xor + 1,
  203.     DBOP_not    = DBOP_equivalent + 1,
  204.     DBOP_implies    = DBOP_not + 1,
  205.     DBOP_overlaps    = DBOP_implies + 1,
  206.     DBOP_case_condition    = DBOP_overlaps + 1,
  207.     DBOP_case_value    = DBOP_case_condition + 1,
  208.     DBOP_nullif    = DBOP_case_value + 1,
  209.     DBOP_cast    = DBOP_nullif + 1,
  210.     DBOP_coalesce    = DBOP_cast + 1,
  211.     DBOP_position    = DBOP_coalesce + 1,
  212.     DBOP_extract    = DBOP_position + 1,
  213.     DBOP_char_length    = DBOP_extract + 1,
  214.     DBOP_octet_length    = DBOP_char_length + 1,
  215.     DBOP_bit_length    = DBOP_octet_length + 1,
  216.     DBOP_substring    = DBOP_bit_length + 1,
  217.     DBOP_upper    = DBOP_substring + 1,
  218.     DBOP_lower    = DBOP_upper + 1,
  219.     DBOP_trim    = DBOP_lower + 1,
  220.     DBOP_translate    = DBOP_trim + 1,
  221.     DBOP_convert    = DBOP_translate + 1,
  222.     DBOP_string_concat    = DBOP_convert + 1,
  223.     DBOP_current_date    = DBOP_string_concat + 1,
  224.     DBOP_current_time    = DBOP_current_date + 1,
  225.     DBOP_current_timestamp    = DBOP_current_time + 1,
  226.     DBOP_content_select    = DBOP_current_timestamp + 1,
  227.     DBOP_content    = DBOP_content_select + 1,
  228.     DBOP_content_freetext    = DBOP_content + 1,
  229.     DBOP_content_proximity    = DBOP_content_freetext + 1,
  230.     DBOP_content_vector_or    = DBOP_content_proximity + 1,
  231.     DBOP_delete    = DBOP_content_vector_or + 1,
  232.     DBOP_update    = DBOP_delete + 1,
  233.     DBOP_insert    = DBOP_update + 1,
  234.     DBOP_min    = DBOP_insert + 1,
  235.     DBOP_max    = DBOP_min + 1,
  236.     DBOP_count    = DBOP_max + 1,
  237.     DBOP_sum    = DBOP_count + 1,
  238.     DBOP_avg    = DBOP_sum + 1,
  239.     DBOP_any_sample    = DBOP_avg + 1,
  240.     DBOP_stddev    = DBOP_any_sample + 1,
  241.     DBOP_stddev_pop    = DBOP_stddev + 1,
  242.     DBOP_var    = DBOP_stddev_pop + 1,
  243.     DBOP_var_pop    = DBOP_var + 1,
  244.     DBOP_first    = DBOP_var_pop + 1,
  245.     DBOP_last    = DBOP_first + 1,
  246.     DBOP_in    = DBOP_last + 1,
  247.     DBOP_exists    = DBOP_in + 1,
  248.     DBOP_unique    = DBOP_exists + 1,
  249.     DBOP_subset    = DBOP_unique + 1,
  250.     DBOP_proper_subset    = DBOP_subset + 1,
  251.     DBOP_superset    = DBOP_proper_subset + 1,
  252.     DBOP_proper_superset    = DBOP_superset + 1,
  253.     DBOP_disjoint    = DBOP_proper_superset + 1,
  254.     DBOP_pass_through    = DBOP_disjoint + 1,
  255.     DBOP_defined_by_GUID    = DBOP_pass_through + 1,
  256.     DBOP_text_command    = DBOP_defined_by_GUID + 1,
  257.     DBOP_SQL_select    = DBOP_text_command + 1,
  258.     DBOP_prior_command_tree    = DBOP_SQL_select + 1,
  259.     DBOP_add_columns    = DBOP_prior_command_tree + 1,
  260.     DBOP_column_list_anchor    = DBOP_add_columns + 1,
  261.     DBOP_column_list_element    = DBOP_column_list_anchor + 1,
  262.     DBOP_command_list_anchor    = DBOP_column_list_element + 1,
  263.     DBOP_command_list_element    = DBOP_command_list_anchor + 1,
  264.     DBOP_from_list_anchor    = DBOP_command_list_element + 1,
  265.     DBOP_from_list_element    = DBOP_from_list_anchor + 1,
  266.     DBOP_project_list_anchor    = DBOP_from_list_element + 1,
  267.     DBOP_project_list_element    = DBOP_project_list_anchor + 1,
  268.     DBOP_row_list_anchor    = DBOP_project_list_element + 1,
  269.     DBOP_row_list_element    = DBOP_row_list_anchor + 1,
  270.     DBOP_scalar_list_anchor    = DBOP_row_list_element + 1,
  271.     DBOP_scalar_list_element    = DBOP_scalar_list_anchor + 1,
  272.     DBOP_set_list_anchor    = DBOP_scalar_list_element + 1,
  273.     DBOP_set_list_element    = DBOP_set_list_anchor + 1,
  274.     DBOP_sort_list_anchor    = DBOP_set_list_element + 1,
  275.     DBOP_sort_list_element    = DBOP_sort_list_anchor + 1,
  276.     DBOP_alter_character_set    = DBOP_sort_list_element + 1,
  277.     DBOP_alter_collation    = DBOP_alter_character_set + 1,
  278.     DBOP_alter_domain    = DBOP_alter_collation + 1,
  279.     DBOP_alter_index    = DBOP_alter_domain + 1,
  280.     DBOP_alter_procedure    = DBOP_alter_index + 1,
  281.     DBOP_alter_schema    = DBOP_alter_procedure + 1,
  282.     DBOP_alter_table    = DBOP_alter_schema + 1,
  283.     DBOP_alter_trigger    = DBOP_alter_table + 1,
  284.     DBOP_alter_view    = DBOP_alter_trigger + 1,
  285.     DBOP_coldef_list_anchor    = DBOP_alter_view + 1,
  286.     DBOP_coldef_list_element    = DBOP_coldef_list_anchor + 1,
  287.     DBOP_create_assertion    = DBOP_coldef_list_element + 1,
  288.     DBOP_create_character_set    = DBOP_create_assertion + 1,
  289.     DBOP_create_collation    = DBOP_create_character_set + 1,
  290.     DBOP_create_domain    = DBOP_create_collation + 1,
  291.     DBOP_create_index    = DBOP_create_domain + 1,
  292.     DBOP_create_procedure    = DBOP_create_index + 1,
  293.     DBOP_create_schema    = DBOP_create_procedure + 1,
  294.     DBOP_create_synonym    = DBOP_create_schema + 1,
  295.     DBOP_create_table    = DBOP_create_synonym + 1,
  296.     DBOP_create_temporary_table    = DBOP_create_table + 1,
  297.     DBOP_create_translation    = DBOP_create_temporary_table + 1,
  298.     DBOP_create_trigger    = DBOP_create_translation + 1,
  299.     DBOP_create_view    = DBOP_create_trigger + 1,
  300.     DBOP_drop_assertion    = DBOP_create_view + 1,
  301.     DBOP_drop_character_set    = DBOP_drop_assertion + 1,
  302.     DBOP_drop_collation    = DBOP_drop_character_set + 1,
  303.     DBOP_drop_domain    = DBOP_drop_collation + 1,
  304.     DBOP_drop_index    = DBOP_drop_domain + 1,
  305.     DBOP_drop_procedure    = DBOP_drop_index + 1,
  306.     DBOP_drop_schema    = DBOP_drop_procedure + 1,
  307.     DBOP_drop_synonym    = DBOP_drop_schema + 1,
  308.     DBOP_drop_table    = DBOP_drop_synonym + 1,
  309.     DBOP_drop_translation    = DBOP_drop_table + 1,
  310.     DBOP_drop_trigger    = DBOP_drop_translation + 1,
  311.     DBOP_drop_view    = DBOP_drop_trigger + 1,
  312.     DBOP_foreign_key    = DBOP_drop_view + 1,
  313.     DBOP_grant_privileges    = DBOP_foreign_key + 1,
  314.     DBOP_index_list_anchor    = DBOP_grant_privileges + 1,
  315.     DBOP_index_list_element    = DBOP_index_list_anchor + 1,
  316.     DBOP_primary_key    = DBOP_index_list_element + 1,
  317.     DBOP_property_list_anchor    = DBOP_primary_key + 1,
  318.     DBOP_property_list_element    = DBOP_property_list_anchor + 1,
  319.     DBOP_referenced_table    = DBOP_property_list_element + 1,
  320.     DBOP_rename_object    = DBOP_referenced_table + 1,
  321.     DBOP_revoke_privileges    = DBOP_rename_object + 1,
  322.     DBOP_schema_authorization    = DBOP_revoke_privileges + 1,
  323.     DBOP_unique_key    = DBOP_schema_authorization + 1,
  324.     DBOP_scope_list_anchor    = DBOP_unique_key + 1,
  325.     DBOP_scope_list_element    = DBOP_scope_list_anchor + 1,
  326.     DBOP_content_table    = DBOP_scope_list_element + 1
  327.     };
  328.  
  329.  
  330. extern RPC_IF_HANDLE CommandTreeStructureDefinitions_v0_0_c_ifspec;
  331. extern RPC_IF_HANDLE CommandTreeStructureDefinitions_v0_0_s_ifspec;
  332. #endif /* __CommandTreeStructureDefinitions_INTERFACE_DEFINED__ */
  333.  
  334. #ifndef __ICommandTree_INTERFACE_DEFINED__
  335. #define __ICommandTree_INTERFACE_DEFINED__
  336.  
  337. /****************************************
  338.  * Generated header for interface: ICommandTree
  339.  * at Mon Jan 11 19:57:55 1999
  340.  * using MIDL 3.01.75
  341.  ****************************************/
  342. /* [unique][uuid][object][local] */ 
  343.  
  344.  
  345. typedef DWORD DBCOMMANDREUSE;
  346.  
  347.  
  348. enum DBCOMMANDREUSEENUM
  349.     {    DBCOMMANDREUSE_NONE    = 0,
  350.     DBCOMMANDREUSE_PROPERTIES    = 0x1,
  351.     DBCOMMANDREUSE_PARAMETERS    = 0x2
  352.     };
  353. typedef DWORD DBVALUEKIND;
  354.  
  355.  
  356. enum DBVALUEKINDENUM
  357.     {    DBVALUEKIND_BYGUID    = 256,
  358.     DBVALUEKIND_COLDESC    = DBVALUEKIND_BYGUID + 1,
  359.     DBVALUEKIND_ID    = DBVALUEKIND_COLDESC + 1,
  360.     DBVALUEKIND_CONTENT    = DBVALUEKIND_ID + 1,
  361.     DBVALUEKIND_CONTENTVECTOR    = DBVALUEKIND_CONTENT + 1,
  362.     DBVALUEKIND_GROUPINFO    = DBVALUEKIND_CONTENTVECTOR + 1,
  363.     DBVALUEKIND_PARAMETER    = DBVALUEKIND_GROUPINFO + 1,
  364.     DBVALUEKIND_PROPERTY    = DBVALUEKIND_PARAMETER + 1,
  365.     DBVALUEKIND_SETFUNC    = DBVALUEKIND_PROPERTY + 1,
  366.     DBVALUEKIND_SORTINFO    = DBVALUEKIND_SETFUNC + 1,
  367.     DBVALUEKIND_TEXT    = DBVALUEKIND_SORTINFO + 1,
  368.     DBVALUEKIND_COMMAND    = DBVALUEKIND_TEXT + 1,
  369.     DBVALUEKIND_MONIKER    = DBVALUEKIND_COMMAND + 1,
  370.     DBVALUEKIND_ROWSET    = DBVALUEKIND_MONIKER + 1,
  371.     DBVALUEKIND_LIKE    = DBVALUEKIND_ROWSET + 1,
  372.     DBVALUEKIND_CONTENTPROXIMITY    = DBVALUEKIND_LIKE + 1,
  373.     DBVALUEKIND_CONTENTSCOPE    = DBVALUEKIND_CONTENTPROXIMITY + 1,
  374.     DBVALUEKIND_CONTENTTABLE    = DBVALUEKIND_CONTENTSCOPE + 1,
  375.     DBVALUEKIND_IDISPATCH    = 9,
  376.     DBVALUEKIND_IUNKNOWN    = 13,
  377.     DBVALUEKIND_EMPTY    = 0,
  378.     DBVALUEKIND_NULL    = 1,
  379.     DBVALUEKIND_I2    = 2,
  380.     DBVALUEKIND_I4    = 3,
  381.     DBVALUEKIND_R4    = 4,
  382.     DBVALUEKIND_R8    = 5,
  383.     DBVALUEKIND_CY    = 6,
  384.     DBVALUEKIND_DATE    = 7,
  385.     DBVALUEKIND_BSTR    = 8,
  386.     DBVALUEKIND_ERROR    = 10,
  387.     DBVALUEKIND_BOOL    = 11,
  388.     DBVALUEKIND_VARIANT    = 12,
  389.     DBVALUEKIND_VECTOR    = 0x1000,
  390.     DBVALUEKIND_ARRAY    = 0x2000,
  391.     DBVALUEKIND_BYREF    = 0x4000,
  392.     DBVALUEKIND_I1    = 16,
  393.     DBVALUEKIND_UI1    = 17,
  394.     DBVALUEKIND_UI2    = 18,
  395.     DBVALUEKIND_UI4    = DBVALUEKIND_UI2 + 1,
  396.     DBVALUEKIND_I8    = DBVALUEKIND_UI4 + 1,
  397.     DBVALUEKIND_UI8    = DBVALUEKIND_I8 + 1,
  398.     DBVALUEKIND_GUID    = 72,
  399.     DBVALUEKIND_BYTES    = 128,
  400.     DBVALUEKIND_STR    = 129,
  401.     DBVALUEKIND_WSTR    = 130,
  402.     DBVALUEKIND_NUMERIC    = 131,
  403.     DBVALUEKIND_DBDATE    = 133,
  404.     DBVALUEKIND_DBTIME    = 134,
  405.     DBVALUEKIND_DBTIMESTAMP    = 135
  406.     };
  407. typedef struct  tagDBBYGUID
  408.     {
  409.     /* [size_is] */ BYTE __RPC_FAR *pbInfo;
  410.     ULONG cbInfo;
  411.     GUID guid;
  412.     }    DBBYGUID;
  413.  
  414. #define GENERATE_METHOD_EXACT    ( 0 )
  415. #define GENERATE_METHOD_PREFIX   ( 1 )
  416. #define GENERATE_METHOD_INFLECT  ( 2 )
  417. typedef struct  tagDBCONTENT
  418.     {
  419.     LPOLESTR pwszPhrase;
  420.     DWORD dwGenerateMethod;
  421.     LONG lWeight;
  422.     LCID lcid;
  423.     }    DBCONTENT;
  424.  
  425. #define SCOPE_FLAG_MASK      ( 0x000000ff )
  426. #define SCOPE_FLAG_INCLUDE   ( 0x00000001 )
  427. #define SCOPE_FLAG_DEEP      ( 0x00000002 )
  428. #define SCOPE_TYPE_MASK      ( 0xffffff00 )
  429. #define SCOPE_TYPE_WINPATH   ( 0x00000100 )
  430. #define SCOPE_TYPE_VPATH     ( 0x00000200 )
  431. typedef struct  tagDBCONTENTSCOPE
  432.     {
  433.     DWORD dwFlags;
  434.     LPOLESTR __RPC_FAR *rgpwszTagName;
  435.     LPOLESTR pwszElementValue;
  436.     }    DBCONTENTSCOPE;
  437.  
  438. typedef struct  tagDBCONTENTTABLE
  439.     {
  440.     LPOLESTR pwszMachine;
  441.     LPOLESTR pwszCatalog;
  442.     }    DBCONTENTTABLE;
  443.  
  444. #define PROPID_QUERY_RANKVECTOR  ( 0x2 )
  445. #define PROPID_QUERY_RANK        ( 0x3 )
  446. #define PROPID_QUERY_HITCOUNT    ( 0x4 )
  447. #define PROPID_QUERY_ALL         ( 0x6 )
  448. #define PROPID_STG_CONTENTS      ( 0x13 )
  449. #define VECTOR_RANK_MIN          ( 0 )
  450. #define VECTOR_RANK_MAX          ( 1 )
  451. #define VECTOR_RANK_INNER        ( 2 )
  452. #define VECTOR_RANK_DICE         ( 3 )
  453. #define VECTOR_RANK_JACCARD      ( 4 )
  454. typedef struct  tagDBCONTENTVECTOR
  455.     {
  456.     LONG lWeight;
  457.     DWORD dwRankingMethod;
  458.     }    DBCONTENTVECTOR;
  459.  
  460. typedef struct  tagDBGROUPINFO
  461.     {
  462.     LCID lcid;
  463.     }    DBGROUPINFO;
  464.  
  465. typedef struct  tagDBPARAMETER
  466.     {
  467.     LPOLESTR pwszName;
  468.     ITypeInfo __RPC_FAR *pTypeInfo;
  469.     DB_NUMERIC __RPC_FAR *pNum;
  470.     ULONG cbMaxLength;
  471.     DBPARAMFLAGS dwFlags;
  472.     DBTYPE wType;
  473.     }    DBPARAMETER;
  474.  
  475. #define DBSETFUNC_NONE       0x0
  476. #define DBSETFUNC_ALL        0x1
  477. #define DBSETFUNC_DISTINCT   0x2
  478. typedef struct  tagDBSETFUNC
  479.     {
  480.     DWORD dwSetQuantifier;
  481.     }    DBSETFUNC;
  482.  
  483. typedef struct  tagDBSORTINFO
  484.     {
  485.     BOOL fDesc;
  486.     LCID lcid;
  487.     }    DBSORTINFO;
  488.  
  489. typedef struct  tagDBTEXT
  490.     {
  491.     LPOLESTR pwszText;
  492.     ULONG ulErrorLocator;
  493.     ULONG ulTokenLength;
  494.     GUID guidDialect;
  495.     }    DBTEXT;
  496.  
  497. typedef struct  tagDBLIKE
  498.     {
  499.     LONG lWeight;
  500.     GUID guidDialect;
  501.     }    DBLIKE;
  502.  
  503. #define PROXIMITY_UNIT_WORD           ( 0 )
  504. #define PROXIMITY_UNIT_SENTENCE       ( 1 )
  505. #define PROXIMITY_UNIT_PARAGRAPH      ( 2 )
  506. #define PROXIMITY_UNIT_CHAPTER        ( 3 )
  507. typedef struct  tagDBCONTENTPROXIMITY
  508.     {
  509.     DWORD dwProximityUnit;
  510.     ULONG ulProximityDistance;
  511.     LONG lWeight;
  512.     }    DBCONTENTPROXIMITY;
  513.  
  514. typedef struct  tagDBCOMMANDTREE
  515.     {
  516.     DBCOMMANDOP op;
  517.     WORD wKind;
  518.     struct tagDBCOMMANDTREE __RPC_FAR *pctFirstChild;
  519.     struct tagDBCOMMANDTREE __RPC_FAR *pctNextSibling;
  520.     /* [switch_is][switch_type] */ union 
  521.         {
  522.         /* [case()] */ BOOL fValue;
  523.         /* [case()] */ unsigned char uchValue;
  524.         /* [case()] */ signed char schValue;
  525.         /* [case()] */ unsigned short usValue;
  526.         /* [case()] */ short sValue;
  527.         /* [case()] */ LPOLESTR pwszValue;
  528.         /* [case()] */ LONG lValue;
  529.         /* [case()] */ ULONG ulValue;
  530.         /* [case()] */ float flValue;
  531.         /* [case()] */ double dblValue;
  532.         /* [case()] */ CY cyValue;
  533.         /* [case()] */ DATE dateValue;
  534.         /* [case()] */ DBDATE dbdateValue;
  535.         /* [case()] */ DBTIME dbtimeValue;
  536.         /* [case()] */ SCODE scodeValue;
  537.         /* [case()] */ hyper llValue;
  538.         /* [case()] */ MIDL_uhyper ullValue;
  539.         /* [case()] */ BSTR __RPC_FAR *pbstrValue;
  540.         /* [case()] */ ICommand __RPC_FAR *pCommand;
  541.         /* [case()] */ IDispatch __RPC_FAR *pDispatch;
  542.         /* [case()] */ IMoniker __RPC_FAR *pMoniker;
  543.         /* [case()] */ IRowset __RPC_FAR *pRowset;
  544.         /* [case()] */ IUnknown __RPC_FAR *pUnknown;
  545.         /* [case()] */ DBBYGUID __RPC_FAR *pdbbygdValue;
  546.         /* [case()] */ DBCOLUMNDESC __RPC_FAR *pcoldescValue;
  547.         /* [case()] */ DBID __RPC_FAR *pdbidValue;
  548.         /* [case()] */ DBLIKE __RPC_FAR *pdblikeValue;
  549.         /* [case()] */ DBCONTENT __RPC_FAR *pdbcntntValue;
  550.         /* [case()] */ DBCONTENTSCOPE __RPC_FAR *pdbcntntscpValue;
  551.         /* [case()] */ DBCONTENTTABLE __RPC_FAR *pdbcntnttblValue;
  552.         /* [case()] */ DBCONTENTVECTOR __RPC_FAR *pdbcntntvcValue;
  553.         /* [case()] */ DBCONTENTPROXIMITY __RPC_FAR *pdbcntntproxValue;
  554.         /* [case()] */ DBGROUPINFO __RPC_FAR *pdbgrpinfValue;
  555.         /* [case()] */ DBPARAMETER __RPC_FAR *pdbparamValue;
  556.         /* [case()] */ DBPROPSET __RPC_FAR *pdbpropValue;
  557.         /* [case()] */ DBSETFUNC __RPC_FAR *pdbstfncValue;
  558.         /* [case()] */ DBSORTINFO __RPC_FAR *pdbsrtinfValue;
  559.         /* [case()] */ DBTEXT __RPC_FAR *pdbtxtValue;
  560.         /* [case()] */ DBVECTOR __RPC_FAR *pdbvectorValue;
  561.         /* [case()] */ SAFEARRAY __RPC_FAR *parrayValue;
  562.         /* [case()] */ VARIANT __RPC_FAR *pvarValue;
  563.         /* [case()] */ GUID __RPC_FAR *pGuid;
  564.         /* [case()] */ BYTE __RPC_FAR *pbValue;
  565.         /* [case()] */ char __RPC_FAR *pzValue;
  566.         /* [case()] */ DB_NUMERIC __RPC_FAR *pdbnValue;
  567.         /* [case()] */ DBTIMESTAMP __RPC_FAR *pdbtsValue;
  568.         /* [case()] */ void __RPC_FAR *pvValue;
  569.         }    value;
  570.     HRESULT hrError;
  571.     }    DBCOMMANDTREE;
  572.  
  573.  
  574. EXTERN_C const IID IID_ICommandTree;
  575.  
  576. #if defined(__cplusplus) && !defined(CINTERFACE)
  577.     
  578.     interface DECLSPEC_UUID("0c733a87-2a1c-11ce-ade5-00aa0044773d")
  579.     ICommandTree : public IUnknown
  580.     {
  581.     public:
  582.         virtual HRESULT STDMETHODCALLTYPE FindErrorNodes( 
  583.             /* [in] */ const DBCOMMANDTREE __RPC_FAR *pRoot,
  584.             /* [out] */ ULONG __RPC_FAR *pcErrorNodes,
  585.             /* [out] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *__RPC_FAR *prgErrorNodes) = 0;
  586.         
  587.         virtual HRESULT STDMETHODCALLTYPE FreeCommandTree( 
  588.             /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot) = 0;
  589.         
  590.         virtual HRESULT STDMETHODCALLTYPE GetCommandTree( 
  591.             /* [out] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot) = 0;
  592.         
  593.         virtual HRESULT STDMETHODCALLTYPE SetCommandTree( 
  594.             /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot,
  595.             /* [in] */ DBCOMMANDREUSE dwCommandReuse,
  596.             /* [in] */ BOOL fCopy) = 0;
  597.         
  598.     };
  599.     
  600. #else     /* C style interface */
  601.  
  602.     typedef struct ICommandTreeVtbl
  603.     {
  604.         BEGIN_INTERFACE
  605.         
  606.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  607.             ICommandTree __RPC_FAR * This,
  608.             /* [in] */ REFIID riid,
  609.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  610.         
  611.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  612.             ICommandTree __RPC_FAR * This);
  613.         
  614.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  615.             ICommandTree __RPC_FAR * This);
  616.         
  617.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindErrorNodes )( 
  618.             ICommandTree __RPC_FAR * This,
  619.             /* [in] */ const DBCOMMANDTREE __RPC_FAR *pRoot,
  620.             /* [out] */ ULONG __RPC_FAR *pcErrorNodes,
  621.             /* [out] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *__RPC_FAR *prgErrorNodes);
  622.         
  623.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FreeCommandTree )( 
  624.             ICommandTree __RPC_FAR * This,
  625.             /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot);
  626.         
  627.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommandTree )( 
  628.             ICommandTree __RPC_FAR * This,
  629.             /* [out] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot);
  630.         
  631.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCommandTree )( 
  632.             ICommandTree __RPC_FAR * This,
  633.             /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot,
  634.             /* [in] */ DBCOMMANDREUSE dwCommandReuse,
  635.             /* [in] */ BOOL fCopy);
  636.         
  637.         END_INTERFACE
  638.     } ICommandTreeVtbl;
  639.  
  640.     interface ICommandTree
  641.     {
  642.         CONST_VTBL struct ICommandTreeVtbl __RPC_FAR *lpVtbl;
  643.     };
  644.  
  645.     
  646.  
  647. #ifdef COBJMACROS
  648.  
  649.  
  650. #define ICommandTree_QueryInterface(This,riid,ppvObject)    \
  651.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  652.  
  653. #define ICommandTree_AddRef(This)    \
  654.     (This)->lpVtbl -> AddRef(This)
  655.  
  656. #define ICommandTree_Release(This)    \
  657.     (This)->lpVtbl -> Release(This)
  658.  
  659.  
  660. #define ICommandTree_FindErrorNodes(This,pRoot,pcErrorNodes,prgErrorNodes)    \
  661.     (This)->lpVtbl -> FindErrorNodes(This,pRoot,pcErrorNodes,prgErrorNodes)
  662.  
  663. #define ICommandTree_FreeCommandTree(This,ppRoot)    \
  664.     (This)->lpVtbl -> FreeCommandTree(This,ppRoot)
  665.  
  666. #define ICommandTree_GetCommandTree(This,ppRoot)    \
  667.     (This)->lpVtbl -> GetCommandTree(This,ppRoot)
  668.  
  669. #define ICommandTree_SetCommandTree(This,ppRoot,dwCommandReuse,fCopy)    \
  670.     (This)->lpVtbl -> SetCommandTree(This,ppRoot,dwCommandReuse,fCopy)
  671.  
  672. #endif /* COBJMACROS */
  673.  
  674.  
  675. #endif     /* C style interface */
  676.  
  677.  
  678.  
  679. HRESULT STDMETHODCALLTYPE ICommandTree_FindErrorNodes_Proxy( 
  680.     ICommandTree __RPC_FAR * This,
  681.     /* [in] */ const DBCOMMANDTREE __RPC_FAR *pRoot,
  682.     /* [out] */ ULONG __RPC_FAR *pcErrorNodes,
  683.     /* [out] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *__RPC_FAR *prgErrorNodes);
  684.  
  685.  
  686. void __RPC_STUB ICommandTree_FindErrorNodes_Stub(
  687.     IRpcStubBuffer *This,
  688.     IRpcChannelBuffer *_pRpcChannelBuffer,
  689.     PRPC_MESSAGE _pRpcMessage,
  690.     DWORD *_pdwStubPhase);
  691.  
  692.  
  693. HRESULT STDMETHODCALLTYPE ICommandTree_FreeCommandTree_Proxy( 
  694.     ICommandTree __RPC_FAR * This,
  695.     /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot);
  696.  
  697.  
  698. void __RPC_STUB ICommandTree_FreeCommandTree_Stub(
  699.     IRpcStubBuffer *This,
  700.     IRpcChannelBuffer *_pRpcChannelBuffer,
  701.     PRPC_MESSAGE _pRpcMessage,
  702.     DWORD *_pdwStubPhase);
  703.  
  704.  
  705. HRESULT STDMETHODCALLTYPE ICommandTree_GetCommandTree_Proxy( 
  706.     ICommandTree __RPC_FAR * This,
  707.     /* [out] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot);
  708.  
  709.  
  710. void __RPC_STUB ICommandTree_GetCommandTree_Stub(
  711.     IRpcStubBuffer *This,
  712.     IRpcChannelBuffer *_pRpcChannelBuffer,
  713.     PRPC_MESSAGE _pRpcMessage,
  714.     DWORD *_pdwStubPhase);
  715.  
  716.  
  717. HRESULT STDMETHODCALLTYPE ICommandTree_SetCommandTree_Proxy( 
  718.     ICommandTree __RPC_FAR * This,
  719.     /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot,
  720.     /* [in] */ DBCOMMANDREUSE dwCommandReuse,
  721.     /* [in] */ BOOL fCopy);
  722.  
  723.  
  724. void __RPC_STUB ICommandTree_SetCommandTree_Stub(
  725.     IRpcStubBuffer *This,
  726.     IRpcChannelBuffer *_pRpcChannelBuffer,
  727.     PRPC_MESSAGE _pRpcMessage,
  728.     DWORD *_pdwStubPhase);
  729.  
  730.  
  731.  
  732. #endif     /* __ICommandTree_INTERFACE_DEFINED__ */
  733.  
  734.  
  735. #ifndef __IQuery_INTERFACE_DEFINED__
  736. #define __IQuery_INTERFACE_DEFINED__
  737.  
  738. /****************************************
  739.  * Generated header for interface: IQuery
  740.  * at Mon Jan 11 19:57:55 1999
  741.  * using MIDL 3.01.75
  742.  ****************************************/
  743. /* [unique][uuid][object][local] */ 
  744.  
  745.  
  746.  
  747. EXTERN_C const IID IID_IQuery;
  748.  
  749. #if defined(__cplusplus) && !defined(CINTERFACE)
  750.     
  751.     interface DECLSPEC_UUID("0c733a51-2a1c-11ce-ade5-00aa0044773d")
  752.     IQuery : public ICommandTree
  753.     {
  754.     public:
  755.         virtual HRESULT STDMETHODCALLTYPE AddPostProcessing( 
  756.             /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot,
  757.             /* [in] */ BOOL fCopy) = 0;
  758.         
  759.         virtual HRESULT STDMETHODCALLTYPE GetCardinalityEstimate( 
  760.             /* [out] */ ULONG __RPC_FAR *pulCardinality) = 0;
  761.         
  762.     };
  763.     
  764. #else     /* C style interface */
  765.  
  766.     typedef struct IQueryVtbl
  767.     {
  768.         BEGIN_INTERFACE
  769.         
  770.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  771.             IQuery __RPC_FAR * This,
  772.             /* [in] */ REFIID riid,
  773.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  774.         
  775.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  776.             IQuery __RPC_FAR * This);
  777.         
  778.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  779.             IQuery __RPC_FAR * This);
  780.         
  781.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindErrorNodes )( 
  782.             IQuery __RPC_FAR * This,
  783.             /* [in] */ const DBCOMMANDTREE __RPC_FAR *pRoot,
  784.             /* [out] */ ULONG __RPC_FAR *pcErrorNodes,
  785.             /* [out] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *__RPC_FAR *prgErrorNodes);
  786.         
  787.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FreeCommandTree )( 
  788.             IQuery __RPC_FAR * This,
  789.             /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot);
  790.         
  791.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCommandTree )( 
  792.             IQuery __RPC_FAR * This,
  793.             /* [out] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot);
  794.         
  795.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCommandTree )( 
  796.             IQuery __RPC_FAR * This,
  797.             /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot,
  798.             /* [in] */ DBCOMMANDREUSE dwCommandReuse,
  799.             /* [in] */ BOOL fCopy);
  800.         
  801.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddPostProcessing )( 
  802.             IQuery __RPC_FAR * This,
  803.             /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot,
  804.             /* [in] */ BOOL fCopy);
  805.         
  806.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCardinalityEstimate )( 
  807.             IQuery __RPC_FAR * This,
  808.             /* [out] */ ULONG __RPC_FAR *pulCardinality);
  809.         
  810.         END_INTERFACE
  811.     } IQueryVtbl;
  812.  
  813.     interface IQuery
  814.     {
  815.         CONST_VTBL struct IQueryVtbl __RPC_FAR *lpVtbl;
  816.     };
  817.  
  818.     
  819.  
  820. #ifdef COBJMACROS
  821.  
  822.  
  823. #define IQuery_QueryInterface(This,riid,ppvObject)    \
  824.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  825.  
  826. #define IQuery_AddRef(This)    \
  827.     (This)->lpVtbl -> AddRef(This)
  828.  
  829. #define IQuery_Release(This)    \
  830.     (This)->lpVtbl -> Release(This)
  831.  
  832.  
  833. #define IQuery_FindErrorNodes(This,pRoot,pcErrorNodes,prgErrorNodes)    \
  834.     (This)->lpVtbl -> FindErrorNodes(This,pRoot,pcErrorNodes,prgErrorNodes)
  835.  
  836. #define IQuery_FreeCommandTree(This,ppRoot)    \
  837.     (This)->lpVtbl -> FreeCommandTree(This,ppRoot)
  838.  
  839. #define IQuery_GetCommandTree(This,ppRoot)    \
  840.     (This)->lpVtbl -> GetCommandTree(This,ppRoot)
  841.  
  842. #define IQuery_SetCommandTree(This,ppRoot,dwCommandReuse,fCopy)    \
  843.     (This)->lpVtbl -> SetCommandTree(This,ppRoot,dwCommandReuse,fCopy)
  844.  
  845.  
  846. #define IQuery_AddPostProcessing(This,ppRoot,fCopy)    \
  847.     (This)->lpVtbl -> AddPostProcessing(This,ppRoot,fCopy)
  848.  
  849. #define IQuery_GetCardinalityEstimate(This,pulCardinality)    \
  850.     (This)->lpVtbl -> GetCardinalityEstimate(This,pulCardinality)
  851.  
  852. #endif /* COBJMACROS */
  853.  
  854.  
  855. #endif     /* C style interface */
  856.  
  857.  
  858.  
  859. HRESULT STDMETHODCALLTYPE IQuery_AddPostProcessing_Proxy( 
  860.     IQuery __RPC_FAR * This,
  861.     /* [in] */ DBCOMMANDTREE __RPC_FAR *__RPC_FAR *ppRoot,
  862.     /* [in] */ BOOL fCopy);
  863.  
  864.  
  865. void __RPC_STUB IQuery_AddPostProcessing_Stub(
  866.     IRpcStubBuffer *This,
  867.     IRpcChannelBuffer *_pRpcChannelBuffer,
  868.     PRPC_MESSAGE _pRpcMessage,
  869.     DWORD *_pdwStubPhase);
  870.  
  871.  
  872. HRESULT STDMETHODCALLTYPE IQuery_GetCardinalityEstimate_Proxy( 
  873.     IQuery __RPC_FAR * This,
  874.     /* [out] */ ULONG __RPC_FAR *pulCardinality);
  875.  
  876.  
  877. void __RPC_STUB IQuery_GetCardinalityEstimate_Stub(
  878.     IRpcStubBuffer *This,
  879.     IRpcChannelBuffer *_pRpcChannelBuffer,
  880.     PRPC_MESSAGE _pRpcMessage,
  881.     DWORD *_pdwStubPhase);
  882.  
  883.  
  884.  
  885. #endif     /* __IQuery_INTERFACE_DEFINED__ */
  886.  
  887.  
  888. /****************************************
  889.  * Generated header for interface: __MIDL_itf_cmdtree_0246
  890.  * at Mon Jan 11 19:57:55 1999
  891.  * using MIDL 3.01.75
  892.  ****************************************/
  893. /* [local] */ 
  894.  
  895.  
  896. #include <poppack.h>     // restore original structure packing
  897.  
  898.  
  899. extern RPC_IF_HANDLE __MIDL_itf_cmdtree_0246_v0_0_c_ifspec;
  900. extern RPC_IF_HANDLE __MIDL_itf_cmdtree_0246_v0_0_s_ifspec;
  901.  
  902. /* Additional Prototypes for ALL interfaces */
  903.  
  904. /* end of Additional Prototypes */
  905.  
  906. #ifdef __cplusplus
  907. }
  908. #endif
  909.  
  910. #endif
  911.