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.

80 lines
2.3 KiB

  1. /*===================================================================
  2. Microsoft IIS 6
  3. Microsoft Confidential.
  4. Copyright 2000 Microsoft Corporation. All Rights Reserved.
  5. Component: IDL
  6. File: IWam.idl - WAM Interface
  7. ===================================================================*/
  8. import "oaidl.idl";
  9. import "ocidl.idl";
  10. import "..\isapiidl\IIsapiCore.idl";
  11. [
  12. uuid(888ADDCF-9993-11D0-A539-00A0C922E798),
  13. helpstring("WAM Interface"),
  14. pointer_default(unique)
  15. ]
  16. interface IWam : IUnknown
  17. {
  18. [helpstring("method ProcessIsapiRequest")]
  19. HRESULT WamProcessIsapiRequest(
  20. [in,size_is(cbCoreData)] BYTE * pCoreData,
  21. [in] DWORD cbCoreData,
  22. [in] IIsapiCore * pIsapiCore,
  23. [out] DWORD * pdwHseResult
  24. );
  25. [helpstring("method ProcessIsapiCompletion")]
  26. HRESULT WamProcessIsapiCompletion(
  27. [in] DWORD64 IsapiContext,
  28. [in] DWORD cbCompletion,
  29. [in] DWORD dwCompletionStatus
  30. );
  31. [helpstring("method WamInitProcess")]
  32. HRESULT WamInitProcess(
  33. [in,size_is(cbIsapiModule)] BYTE * szIsapiModule,
  34. [in] DWORD cbIsapiModule,
  35. [out] DWORD * pdwProcessId,
  36. [in,string] LPSTR szClsid,
  37. [in,string] LPSTR szIsapiHandlerInstance,
  38. [in] DWORD dwCallingProcessId
  39. );
  40. [helpstring("method WamUninitProcess")]
  41. HRESULT WamUninitProcess(
  42. void
  43. );
  44. [helpstring("method WamMarshalAsyncReadBuffer")]
  45. HRESULT WamMarshalAsyncReadBuffer(
  46. [in] DWORD64 IsapiContext,
  47. [in,size_is(cbBuffer)] BYTE * pBuffer,
  48. [in] DWORD cbBuffer
  49. );
  50. };
  51. [
  52. uuid(888ADDC0-9993-11D0-A539-00A0C922E798),
  53. version(1.0),
  54. helpstring("Wam 1.0 Type Library")
  55. ]
  56. library WAMLib
  57. {
  58. importlib("stdole2.tlb");
  59. [
  60. uuid(888ADDD0-9993-11D0-A539-00A0C922E798),
  61. helpstring("Wam object class")
  62. ]
  63. coclass Wam
  64. {
  65. [default] interface IWam;
  66. };
  67. };