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 / handles / usrdef / usrdef.idl < prev    next >
Encoding:
Text File  |  1995-11-14  |  549 b   |  24 lines

  1. [ uuid (85D7D1C0-CA47-1067-B31E-00DD010662DA),
  2.   version(1.0),
  3.   pointer_default(unique)
  4. ]
  5. interface usrdef
  6. {
  7.  
  8. typedef struct _DATA_TYPE {
  9.     unsigned char * pszUuid;
  10.     unsigned char * pszProtocolSequence;
  11.     unsigned char * pszNetworkAddress;
  12.     unsigned char * pszEndpoint;
  13.     unsigned char * pszOptions;
  14. } DATA_TYPE;
  15.  
  16. typedef [handle] DATA_TYPE *DATA_HANDLE_TYPE;
  17.  
  18. void UsrdefProc([in]         DATA_HANDLE_TYPE  hBinding,
  19.         [in, string] unsigned char     *pszString);
  20.  
  21. void Shutdown([in] DATA_HANDLE_TYPE  hBinding);
  22.  
  23. }
  24.