--- mstools/samples/rpc/handles/cxhndl/cxhndl.idl 2018/08/09 18:20:56 1.1 +++ mstools/samples/rpc/handles/cxhndl/cxhndl.idl 2018/08/09 18:22:03 1.1.1.2 @@ -1,4 +1,4 @@ -[ uuid (12345678-1234-1234-1234-123456789ABC), +[ uuid (A4F1DB00-CA47-1067-B31F-00DD010662DA), version(1.0), pointer_default(unique)] interface cxhndl @@ -6,13 +6,13 @@ interface cxhndl #define BUFSIZE 1024 typedef [context_handle] void * PCONTEXT_HANDLE_TYPE; -typedef PCONTEXT_HANDLE_TYPE * PPCONTEXT_HANDLE_TYPE; +typedef [ref] PCONTEXT_HANDLE_TYPE * PPCONTEXT_HANDLE_TYPE; short RemoteOpen([out] PPCONTEXT_HANDLE_TYPE pphContext, - [in, string] char * pszFile); + [in, string] unsigned char * pszFile); short RemoteRead([in, out] PPCONTEXT_HANDLE_TYPE pphContext, - [out] char achBuf[BUFSIZE], + [out] unsigned char achBuf[BUFSIZE], [out] short * pcbBuf); short RemoteClose([in, out] PPCONTEXT_HANDLE_TYPE pphContext);