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 / pickle / picklp / picklp.idl < prev    next >
Encoding:
Text File  |  1995-11-14  |  534 b   |  29 lines

  1. [ uuid (B75AF600-9CF4-11CD-A076-08002B2BD711),
  2.   version(1.0),
  3.   pointer_default(unique)
  4. ]
  5. interface proc_pickle
  6. {
  7.  
  8. const short ARR_SIZE =  4;
  9. const short BUFSIZE = 1024;
  10.  
  11. typedef struct _OBJECT1 {
  12.     long    al[ARR_SIZE];
  13.     short   s;
  14.     } OBJECT1;
  15.  
  16. typedef struct _OBJECT2 {
  17.     short                   sSize;
  18.     [size_is(sSize)] short  as[];
  19.     } OBJECT2;
  20.  
  21. void
  22. ProcPickle(
  23.     [in,out, string] char * pTextId,
  24.     [in,out]  OBJECT1 *     pObject1,
  25.     [in,out]  OBJECT2 *     pObject2
  26.     );
  27.  
  28. }
  29.