--- mstools/samples/rpc/dict/play.h 2018/08/09 18:20:01 1.1 +++ mstools/samples/rpc/dict/play.h 2018/08/09 18:24:22 1.1.1.3 @@ -2,23 +2,12 @@ /** **/ /** Microsoft RPC Examples **/ /** Dictionary Application **/ -/** Copyright(c) Microsoft Corp. 1991 **/ +/** Copyright(c) Microsoft Corp. 1992 **/ /** **/ /*************************************************************/ -// #define IN [in] -// #define OUT [out] -// #define CALLBACK - #define IN #define OUT -#define OPTIONAL - -#define SIZE_IS(size) -#define LENGTH_IS(length) -#define UNIQUE -#define INTERFACE -#define SPLAY_TREE #define STRING #define CONTEXT_HANDLE @@ -70,7 +59,6 @@ typedef struct _RDict { */ typedef CONTEXT_HANDLE void * VDict; -/* typedef enum { DICT_SUCCESS, DICT_ITEM_ALREADY_PRESENT, @@ -79,24 +67,7 @@ typedef enum { DICT_LAST_ITEM, DICT_EMPTY_DICTIONARY, DICT_NULL_ITEM -} -VDict_Status; - - * - * VDict_Status and the #defines following replaces the above enum - * definition for now. -*/ - -typedef short VDict_Status; - - -#define DICT_SUCCESS 0 -#define DICT_ITEM_ALREADY_PRESENT 1 -#define DICT_ITEM_NOT_FOUND 2 -#define DICT_FIRST_ITEM 3 -#define DICT_LAST_ITEM 4 -#define DICT_EMPTY_DICTIONARY 5 -#define DICT_NULL_ITEM 6 +} VDict_Status; /*************************************************************************/