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.

214 lines
3.8 KiB

  1. /*++ BUILD Version: 0000 // Increment this if a change has global effects
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. tapy.h
  5. Abstract:
  6. Header file for
  7. Author:
  8. Dan Knudson (DanKn) dd-Mmm-1995
  9. Revision History:
  10. --*/
  11. typedef struct _TAPIGETLOCATIONINFO_PARAMS
  12. {
  13. union
  14. {
  15. OUT LONG lResult;
  16. };
  17. DWORD dwUnused;
  18. union
  19. {
  20. OUT DWORD dwCountryCodeOffset;
  21. };
  22. union
  23. {
  24. IN OUT DWORD dwCountryCodeSize;
  25. };
  26. union
  27. {
  28. OUT DWORD dwCityCodeOffset;
  29. };
  30. union
  31. {
  32. IN OUT DWORD dwCityCodeSize;
  33. };
  34. } TAPIGETLOCATIONINFO_PARAMS, *PTAPIGETLOCATIONINFO_PARAMS;
  35. typedef struct _TAPIREQUESTDROP_PARAMS
  36. {
  37. union
  38. {
  39. OUT LONG lResult;
  40. };
  41. DWORD dwUnused;
  42. union
  43. {
  44. IN HWND hwnd;
  45. union
  46. {
  47. DWORD hwnd32_1;
  48. DWORD hwnd32_2;
  49. };
  50. };
  51. union
  52. {
  53. IN DWORD wRequestID;
  54. };
  55. } TAPIREQUESTDROP_PARAMS, *PTAPIREQUESTDROP_PARAMS;
  56. typedef struct _TAPIREQUESTMAKECALL_PARAMS
  57. {
  58. union
  59. {
  60. OUT LONG lResult;
  61. };
  62. DWORD dwUnused;
  63. union
  64. {
  65. IN DWORD dwDestAddressOffset;
  66. };
  67. union
  68. {
  69. IN DWORD dwAppNameOffset; // valid offset or
  70. };
  71. // TAPI_NO_DATA
  72. union
  73. {
  74. IN DWORD dwCalledPartyOffset; // valid offset or
  75. };
  76. // TAPI_NO_DATA
  77. union
  78. {
  79. IN DWORD dwCommentOffset; // valid offset or
  80. };
  81. // TAPI_NO_DATA
  82. union
  83. {
  84. IN DWORD dwProxyListTotalSize; // size of client buffer
  85. OUT DWORD dwProxyListOffset; // valid offset on success
  86. };
  87. union
  88. {
  89. IN DWORD hRequestMakeCallFailed; // Non-zero if failed to
  90. };
  91. // start proxy
  92. union
  93. {
  94. OUT DWORD hRequestMakeCallAttempted; // Non-zero if failed to
  95. };
  96. // start proxy
  97. } TAPIREQUESTMAKECALL_PARAMS, *PTAPIREQUESTMAKECALL_PARAMS;
  98. typedef struct _TAPIREQUESTMEDIACALL_PARAMS
  99. {
  100. union
  101. {
  102. OUT LONG lResult;
  103. };
  104. DWORD dwUnused;
  105. union
  106. {
  107. IN HWND hwnd;
  108. union
  109. {
  110. DWORD hwnd32_1;
  111. DWORD hwnd32_2;
  112. };
  113. };
  114. union
  115. {
  116. IN DWORD wRequestID;
  117. };
  118. union
  119. {
  120. IN DWORD dwDeviceClassOffset;
  121. };
  122. union
  123. {
  124. OUT DWORD dwDeviceIDOffset;
  125. };
  126. union
  127. {
  128. IN OUT DWORD dwSize;
  129. };
  130. union
  131. {
  132. IN DWORD dwSecure;
  133. };
  134. union
  135. {
  136. IN DWORD dwDestAddressOffset;
  137. };
  138. union
  139. {
  140. IN DWORD dwAppNameOffset; // valid offset or
  141. };
  142. union
  143. {
  144. IN DWORD dwCalledPartyOffset;
  145. };
  146. union
  147. {
  148. IN DWORD dwCommentOffset; // valid offset or
  149. };
  150. } TAPIREQUESTMEDIACALL_PARAMS, *PTAPIREQUESTMEDIACALL_PARAMS;
  151. typedef struct _TAPIPERFORMANCE_PARAMS
  152. {
  153. union
  154. {
  155. OUT LONG lResult;
  156. };
  157. DWORD dwUnused;
  158. union
  159. {
  160. OUT DWORD dwPerfOffset;
  161. };
  162. } TAPIPERFORMANCE_PARAMS, *PTAPIPERFORMANCE_PARAMS;