Source code of Windows XP (NT5)
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.

63 lines
1.4 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1991 - 1999
  3. Module Name:
  4. asyncstub.h
  5. Abstract:
  6. This is the generated header file
  7. --*/
  8. void
  9. Foo (
  10. PRPC_ASYNC_STATE pAsync,
  11. RPC_BINDING_HANDLE hBinding,
  12. /* [in] */ int sizein,
  13. /* [in] */ int *bufferin,
  14. /* [in, out] */ int *sizeout,
  15. /* [out] */ int **bufferout
  16. ) ;
  17. //
  18. // Begin, Generated header file
  19. // declare the pipe structure
  20. typedef struct {
  21. void *state ;
  22. RPC_STATUS (*PipeReceive) (
  23. PRPC_ASYNC_STATE pAsync,
  24. int *buffer,
  25. int requested_count,
  26. int *actual_count) ;
  27. RPC_STATUS (*PipeSend) (
  28. PRPC_ASYNC_STATE pAsync,
  29. void *context,
  30. int *buffer,
  31. int num_elements) ;
  32. } async_intpipe ;
  33. void
  34. FooPipe (
  35. PRPC_ASYNC_STATE pAsync,
  36. RPC_BINDING_HANDLE hBinding,
  37. /* [in] */ int checksum_in,
  38. /* [in] */ async_intpipe *inpipe,
  39. /* [out] */ async_intpipe *outpipe,
  40. /* [out] */ int *checksum_out) ;
  41. #define APP_ERROR 0xBABE000L
  42. #define SYNC_EXCEPT APP_ERROR+1
  43. #define ASYNC_EXCEPT APP_ERROR+2
  44. #define UUID_TEST_CANCEL 10
  45. #define UUID_SLEEP_1000 11
  46. #define UUID_EXTENDED_ERROR 12
  47. #define UUID_ASYNC_EXCEPTION 13
  48. #define UUID_SYNC_EXCEPTION 14
  49. #define UUID_SLEEP_2000 15