IStandardActivator_h.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. #ifndef __ISTANDARD_ACTIVATOR_H_H__
  2. #define __ISTANDARD_ACTIVATOR_H_H__
  3. #include <windows.h>
  4. #include <unknwn.h>
  5. #ifdef __cplusplus
  6. extern "C"{
  7. #endif
  8. /* Forward Declarations */
  9. #ifndef __IStandardActivator_FWD_DEFINED__
  10. #define __IStandardActivator_FWD_DEFINED__
  11. typedef interface IStandardActivator IStandardActivator;
  12. #endif /* __IStandardActivator_FWD_DEFINED__ */
  13. #ifndef __ISpecialSystemProperties_FWD_DEFINED__
  14. #define __ISpecialSystemProperties_FWD_DEFINED__
  15. typedef interface ISpecialSystemProperties ISpecialSystemProperties;
  16. #endif /* __ISpecialSystemProperties_FWD_DEFINED__ */
  17. /* interface IStandardActivator */
  18. /* [unique][uuid][local][object] */
  19. EXTERN_C const IID IID_IStandardActivator;
  20. typedef struct IStandardActivatorVtbl {
  21. BEGIN_INTERFACE
  22. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  23. IStandardActivator * This,
  24. /* [in] */ REFIID riid,
  25. /* [annotation][iid_is][out] */
  26. _COM_Outptr_ void **ppvObject);
  27. ULONG ( STDMETHODCALLTYPE *AddRef )(
  28. IStandardActivator * This);
  29. ULONG ( STDMETHODCALLTYPE *Release )(
  30. IStandardActivator * This);
  31. HRESULT ( STDMETHODCALLTYPE *StandardGetClassObject )(
  32. IStandardActivator * This,
  33. /* [in] */ REFCLSID rclsid,
  34. /* [in] */ DWORD dwClsCtx,
  35. /* [in] */ COSERVERINFO *pServerInfo,
  36. /* [in] */ REFIID riid,
  37. /* [iid_is][out] */ void **ppv);
  38. HRESULT ( STDMETHODCALLTYPE *StandardCreateInstance )(
  39. IStandardActivator * This,
  40. /* [in] */ REFCLSID Clsid,
  41. /* [in] */ IUnknown *punkOuter,
  42. /* [in] */ DWORD dwClsCtx,
  43. /* [in] */ COSERVERINFO *pServerInfo,
  44. /* [in] */ DWORD dwCount,
  45. /* [size_is][in] */ MULTI_QI *pResults);
  46. END_INTERFACE
  47. } IStandardActivatorVtbl;
  48. interface IStandardActivator {
  49. CONST_VTBL struct IStandardActivatorVtbl *lpVtbl;
  50. };
  51. /* interface ISpecialSystemProperties */
  52. /* [unique][uuid][local][object] */
  53. EXTERN_C const IID IID_ISpecialSystemProperties;
  54. typedef struct ISpecialSystemPropertiesVtbl {
  55. BEGIN_INTERFACE
  56. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  57. ISpecialSystemProperties * This,
  58. /* [in] */ REFIID riid,
  59. /* [annotation][iid_is][out] */
  60. _COM_Outptr_ void **ppvObject);
  61. ULONG ( STDMETHODCALLTYPE *AddRef )(
  62. ISpecialSystemProperties * This);
  63. ULONG ( STDMETHODCALLTYPE *Release )(
  64. ISpecialSystemProperties * This);
  65. HRESULT ( STDMETHODCALLTYPE *SetSessionId )(
  66. ISpecialSystemProperties * This,
  67. /* [in] */ ULONG dwSessionId,
  68. /* [in] */ BOOL bUseConsole,
  69. /* [in] */ BOOL fRemoteThisSessionId);
  70. END_INTERFACE
  71. } ISpecialSystemPropertiesVtbl;
  72. interface ISpecialSystemProperties {
  73. CONST_VTBL struct ISpecialSystemPropertiesVtbl *lpVtbl;
  74. };
  75. #ifdef __cplusplus
  76. }
  77. #endif
  78. #endif /* __ISTANDARD_ACTIVATOR_H_H__ */