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.

79 lines
3.0 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2001.
  5. //
  6. // File: snapdata.idl
  7. //
  8. // Contents: WiF Policy Snapin
  9. //
  10. //
  11. // History: TaroonM
  12. // 10/30/01
  13. //
  14. //----------------------------------------------------------------------------
  15. import "unknwn.idl";
  16. import "wtypes.idl";
  17. import "mmc.idl";
  18. /****************************************************************************
  19. * Interface IWirelessSnapInData
  20. * WIRELESS snap-in data interface. This interface is implemented by every
  21. * scope and result item associated with the WIRELESS snap-in.
  22. ****************************************************************************/
  23. [
  24. object,
  25. uuid(DDD146DB-00A1-11d2-8429-006008960A34),
  26. helpstring("IWirelessSnapInDataObject Interface"),
  27. pointer_default(unique)
  28. ]
  29. interface IWirelessSnapInDataObject : IUnknown
  30. {
  31. typedef [unique] IWirelessSnapInDataObject *LPWIFISNAPINDATAOBJECT;
  32. /* handle IExtendContextMenu */
  33. HRESULT AddMenuItems(
  34. [in] LPCONTEXTMENUCALLBACK piCallback,
  35. [in, out] long *pInsertionAllowed );
  36. HRESULT Command(
  37. [in] long lCommandID,
  38. [in] IConsoleNameSpace *pNameSpace );
  39. /* handle IExtendPropertySheet */
  40. HRESULT CreatePropertyPages(
  41. [in] LPPROPERTYSHEETCALLBACK lpProvider,
  42. [in] LONG_PTR handle );
  43. HRESULT QueryPagesFor( void );
  44. /* handle IExtendControlbar */
  45. HRESULT ControlbarNotify(
  46. [in] IControlbar *pControlbar,
  47. [in] IExtendControlbar *pExtendControlbar,
  48. [in] MMC_NOTIFY_TYPE event,
  49. [in] LPARAM arg,
  50. [in] LPARAM param );
  51. HRESULT SetControlbar(
  52. [in] IControlbar *pControlbar,
  53. [in] IExtendControlbar *pExtendControlbar );
  54. /* handle destroy notification */
  55. HRESULT Destroy( void );
  56. /* handle IComponent and IComponentData */
  57. HRESULT Notify(
  58. [in] MMC_NOTIFY_TYPE event,
  59. [in] LPARAM arg,
  60. [in] LPARAM param,
  61. [in] BOOL bComponentData, /* TRUE when caller is IComponentData */
  62. [in] IConsole *pConsole,
  63. [in] IHeaderCtrl *pHeader );
  64. /* handle IComponent */
  65. HRESULT GetResultDisplayInfo( [in, out] RESULTDATAITEM *pResultDataItem );
  66. /* handle IComponentData */
  67. HRESULT GetScopeDisplayInfo( [in, out] SCOPEDATAITEM *pScopeDataItem );
  68. /* IWirelessSnapInData */
  69. HRESULT GetScopeData( [in,out] SCOPEDATAITEM **ppScopeDataItem );
  70. HRESULT GetResultData( [in,out] RESULTDATAITEM **ppResultDataItem );
  71. HRESULT GetGuidForCompare( [in, out] GUID *pGuid );
  72. HRESULT GetDataObjectType( [in,out] DATA_OBJECT_TYPES *ptype );
  73. HRESULT SetDataObjectType( [in] DATA_OBJECT_TYPES type );
  74. HRESULT EnablePropertyChangeHook( [in] BOOL bEnable );
  75. };