Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
733 B

  1. [
  2. uuid(9D4ED230-A00B-101A-9160-08002B284C2C),
  3. version(1.0),
  4. endpoint("ncalrpc:[memtest]"),
  5. pointer_default(unique)
  6. ]
  7. interface Test
  8. {
  9. cpp_quote("#define PWSZ_PROTOCOL L\"ncalrpc\"")
  10. cpp_quote("#define PWSZ_ENDPOINT L\"memtest\"")
  11. typedef struct
  12. {
  13. long cb;
  14. [size_is(cb)] byte *pb;
  15. } SCountedBytes;
  16. typedef struct
  17. {
  18. long ccb;
  19. [size_is(ccb)] SCountedBytes *pcb;
  20. } SCountedCountedBytes;
  21. boolean CopyBytes(
  22. [in] SCountedCountedBytes *pccbIn,
  23. [out] SCountedCountedBytes *pccbOut);
  24. boolean StopServer(void);
  25. }