--- mstools/samples/rpc/dict/replay.idl 2018/08/09 18:20:58 1.1.1.2 +++ mstools/samples/rpc/dict/replay.idl 2018/08/09 18:24:21 1.1.1.3 @@ -6,24 +6,13 @@ /** **/ /*************************************************************/ -#define IN [in] -#define OUT [out] -#define SIZE_IS(size) -#define LENGTH_IS(length) -#define UNIQUE -#define INTERFACE -#define SPLAY_TREE -#define CALLBACK - - - -[ - uuid (12345678-1234-ABCD-EF00-0123456789AB), - version(1.0), - endpoint("msc_np:[\\pipe\\splay]"), - pointer_default(unique) +[ uuid (12345678-1234-ABCD-EF00-0123456789AB), + version(1.0), +// endpoint("msc_np:[\\pipe\\splay]"), + pointer_default(unique) ] - interface dict { +interface dict +{ /*************************************************************************/ /*** Strongly typed tree nodes and dictionaries ***/ @@ -75,7 +64,6 @@ typedef struct _RDict { */ typedef [context_handle] void * VDict; -/* typedef enum { DICT_SUCCESS, DICT_ITEM_ALREADY_PRESENT, @@ -84,24 +72,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; /*************************************************************************/ /*** Generic Dictionary Operations: (From dict0.h) ***/