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.

109 lines
3.2 KiB

  1. /*===================================================================
  2. Microsoft Denali
  3. Microsoft Confidential.
  4. Copyright 1997 Microsoft Corporation. All Rights Reserved.
  5. Component: Transascted Scripts Context Object
  6. File: TxnScrpt.idl
  7. IDL source for ObjectContext object
  8. This file will be processed by the MIDL tool to
  9. produce the type library (TxnScrpt.tlb) and marshalling code.
  10. Owner: AndrewS
  11. ===================================================================*/
  12. import "oaidl.idl";
  13. import "ocidl.idl";
  14. /*
  15. * The IASPObjectContext object supports 3 interfaces,
  16. * 1 OleAutomation interface
  17. * 1 custom interface
  18. * and the MTX IObjectControl interface
  19. *
  20. * The first two are defined here.
  21. */
  22. [
  23. object,
  24. uuid(D97A6DA2-9C1C-11D0-9C3C-00A0C922E764),
  25. helpstring("IASPObjectContext Custom Interface"),
  26. pointer_default(unique)
  27. ]
  28. interface IASPObjectContextCustom : IUnknown
  29. {
  30. import "basetsd.h";
  31. [id(1), helpstring("method SetComplete")] HRESULT SetComplete();
  32. [id(2), helpstring("method SetAbort")] HRESULT SetAbort();
  33. #ifdef _WIN64
  34. // Win64 fix -- use UINT64 instead of LONG_PTR since LONG_PTR is broken for Win64 1/21/2000
  35. [id(3), helpstring("method Call")] HRESULT Call(UINT64 pvScriptEngine, [unique] LPCOLESTR strEntryPoint, [in, out] boolean *pfAborted);
  36. [id(4), helpstring("method ResetScript")] HRESULT ResetScript(UINT64 pvScriptEngine);
  37. #else
  38. [id(3), helpstring("method Call")] HRESULT Call(LONG_PTR pvScriptEngine, [unique] LPCOLESTR strEntryPoint, [in, out] boolean *pfAborted);
  39. [id(4), helpstring("method ResetScript")] HRESULT ResetScript(LONG_PTR pvScriptEngine);
  40. #endif
  41. };
  42. [
  43. uuid(D97A6DA3-9C1C-11D0-9C3C-00A0C922E764),
  44. helpstring("IASPObjectContext Interface"),
  45. oleautomation,
  46. pointer_default(unique)
  47. ]
  48. interface IASPObjectContext : IDispatch
  49. {
  50. [id(1), helpstring("method SetComplete")] HRESULT SetComplete();
  51. [id(2), helpstring("method SetAbort")] HRESULT SetAbort();
  52. };
  53. [
  54. uuid(D97A6DA0-9C1C-11D0-9C3C-00A0C922E764),
  55. version(2.0),
  56. helpstring("Microsoft Active Server Pages ObjectContext Object Library")
  57. ]
  58. library ASPTxnTypeLibrary
  59. {
  60. importlib("stdole2.tlb");
  61. [
  62. uuid(14D0916D-9CDC-11D1-8C4A-00C04FC324A4),
  63. helpstring("Transacted Script ObjectContextTxRequired Class")
  64. ]
  65. coclass ASPObjectContextTxRequired
  66. {
  67. [default] interface IASPObjectContext;
  68. interface IASPObjectContextCustom;
  69. };
  70. [
  71. uuid(14D0916E-9CDC-11D1-8C4A-00C04FC324A4),
  72. helpstring("Transacted Script ObjectContextTxRequiresNew Class")
  73. ]
  74. coclass ASPObjectContextTxRequiresNew
  75. {
  76. [default] interface IASPObjectContext;
  77. interface IASPObjectContextCustom;
  78. };
  79. [
  80. uuid(14D0916F-9CDC-11D1-8C4A-00C04FC324A4),
  81. helpstring("Transacted Script ObjectContextTxSupported Class")
  82. ]
  83. coclass ASPObjectContextTxSupported
  84. {
  85. [default] interface IASPObjectContext;
  86. interface IASPObjectContextCustom;
  87. };
  88. [
  89. uuid(14D09170-9CDC-11D1-8C4A-00C04FC324A4),
  90. helpstring("Transacted Script ObjectContextTxNotSupported Class")
  91. ]
  92. coclass ASPObjectContextTxNotSupported
  93. {
  94. [default] interface IASPObjectContext;
  95. interface IASPObjectContextCustom;
  96. };
  97. };