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.

37 lines
785 B

  1. [ uuid(2F5F6520-CA46-1067-B319-00DD010662DA),
  2. version(1.0),
  3. #ifdef __midl
  4. ms_union,
  5. #endif // __midl
  6. pointer_default(unique)
  7. ]
  8. interface tapsrv
  9. {
  10. typedef [context_handle] void * PCONTEXT_HANDLE_TYPE;
  11. long
  12. ClientAttach(
  13. [out] PCONTEXT_HANDLE_TYPE *pphContext,
  14. [in] long lProcessID,
  15. [out] long *phAsyncEventsEvent,
  16. [in, string] wchar_t *pszDomainUser,
  17. [in, string] wchar_t *pszMachine
  18. );
  19. void
  20. ClientRequest(
  21. [in] PCONTEXT_HANDLE_TYPE phContext,
  22. [in, out, length_is(*plUsedSize), size_is(lNeededSize)] unsigned char* pBuffer,
  23. [in] long lNeededSize,
  24. [in, out] long *plUsedSize
  25. );
  26. void
  27. ClientDetach(
  28. [in, out] PCONTEXT_HANDLE_TYPE *pphContext
  29. );
  30. }