home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / rpc / dict / replay.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-30  |  3.9 KB  |  156 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.03.0110 */
  5. /* at Mon Mar 30 03:06:20 1998
  6.  */
  7. /* Compiler settings for replay.idl:
  8.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext, oldnames
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __replay_h__
  23. #define __replay_h__
  24.  
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif 
  28.  
  29. /* Forward Declarations */ 
  30.  
  31. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  32. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  33.  
  34. #ifndef __dict_INTERFACE_DEFINED__
  35. #define __dict_INTERFACE_DEFINED__
  36.  
  37. /****************************************
  38.  * Generated header for interface: dict
  39.  * at Mon Mar 30 03:06:20 1998
  40.  * using MIDL 3.03.0110
  41.  ****************************************/
  42. /* [implicit_handle][unique][version][uuid] */ 
  43.  
  44.  
  45. typedef struct  _Record
  46.     {
  47.     short key;
  48.     /* [string] */ unsigned char __RPC_FAR *name;
  49.     }    Record;
  50.  
  51. typedef Record __RPC_FAR *PRecord;
  52.  
  53. typedef struct  _RecordTreeNode
  54.     {
  55.     struct _RecordTreeNode __RPC_FAR *left;
  56.     struct _RecordTreeNode __RPC_FAR *right;
  57.     Record __RPC_FAR *item;
  58.     }    RecordTreeNode;
  59.  
  60. typedef struct  _DictState
  61.     {
  62.     short ref_count;
  63.     Record __RPC_FAR *curr_record;
  64.     }    DictState;
  65.  
  66. typedef struct  _RDict
  67.     {
  68.     RecordTreeNode __RPC_FAR *root;
  69.     long size;
  70.     DictState __RPC_FAR *state;
  71.     }    RDict;
  72.  
  73. typedef /* [context_handle] */ void __RPC_FAR *VDict;
  74.  
  75. typedef /* [public][public][public][public][public][public][public][public][public][public][public][public][public][public] */ 
  76. enum __MIDL_dict_0001
  77.     {    DICT_SUCCESS    = 0,
  78.     DICT_ITEM_ALREADY_PRESENT    = DICT_SUCCESS + 1,
  79.     DICT_ITEM_NOT_FOUND    = DICT_ITEM_ALREADY_PRESENT + 1,
  80.     DICT_FIRST_ITEM    = DICT_ITEM_NOT_FOUND + 1,
  81.     DICT_LAST_ITEM    = DICT_FIRST_ITEM + 1,
  82.     DICT_EMPTY_DICTIONARY    = DICT_LAST_ITEM + 1,
  83.     DICT_NULL_ITEM    = DICT_EMPTY_DICTIONARY + 1
  84.     }    VDict_Status;
  85.  
  86. VDict_Status VDict_New( 
  87.     /* [in] */ short shared_dict,
  88.     /* [out] */ VDict __RPC_FAR *v_dict);
  89.  
  90. VDict_Status VDict_Find( 
  91.     /* [in] */ VDict v_dict,
  92.     /* [out][in] */ Record __RPC_FAR *__RPC_FAR *item);
  93.  
  94. VDict_Status VDict_Next( 
  95.     /* [in] */ VDict v_dict,
  96.     /* [out][in] */ Record __RPC_FAR *__RPC_FAR *item);
  97.  
  98. VDict_Status VDict_Prev( 
  99.     /* [in] */ VDict v_dict,
  100.     /* [out][in] */ Record __RPC_FAR *__RPC_FAR *item);
  101.  
  102. VDict_Status VDict_Curr_Next( 
  103.     /* [in] */ VDict v_dict,
  104.     /* [out] */ Record __RPC_FAR *__RPC_FAR *item);
  105.  
  106. VDict_Status VDict_Curr_Prev( 
  107.     /* [in] */ VDict v_dict,
  108.     /* [out] */ Record __RPC_FAR *__RPC_FAR *item);
  109.  
  110. VDict_Status VDict_Insert( 
  111.     /* [in] */ VDict v_dict,
  112.     /* [in] */ Record __RPC_FAR *item);
  113.  
  114. VDict_Status VDict_Delete( 
  115.     /* [in] */ VDict v_dict,
  116.     /* [out][in] */ Record __RPC_FAR *__RPC_FAR *item);
  117.  
  118. VDict_Status VDict_Get_Dict( 
  119.     /* [in] */ VDict v_dict,
  120.     /* [out] */ RDict __RPC_FAR *__RPC_FAR *r_dict);
  121.  
  122. VDict_Status VDict_Curr_Item( 
  123.     /* [in] */ VDict v_dict,
  124.     /* [out] */ Record __RPC_FAR *__RPC_FAR *item);
  125.  
  126. VDict_Status VDict_Curr_Delete( 
  127.     /* [in] */ VDict v_dict,
  128.     /* [out] */ Record __RPC_FAR *__RPC_FAR *item);
  129.  
  130. VDict_Status VDict_X_Dict( 
  131.     /* [in] */ VDict v_dict);
  132.  
  133. VDict_Status VDict_I_Dict( 
  134.     /* [in] */ VDict v_dict,
  135.     /* [in] */ short size);
  136.  
  137.  
  138. extern handle_t dict_IfHandle;
  139.  
  140.  
  141. extern RPC_IF_HANDLE dict_ClientIfHandle;
  142. extern RPC_IF_HANDLE dict_ServerIfHandle;
  143. #endif /* __dict_INTERFACE_DEFINED__ */
  144.  
  145. /* Additional Prototypes for ALL interfaces */
  146.  
  147. void __RPC_USER VDict_rundown( VDict );
  148.  
  149. /* end of Additional Prototypes */
  150.  
  151. #ifdef __cplusplus
  152. }
  153. #endif
  154.  
  155. #endif
  156.