//Copyright (c) 2000 Microsoft Corporation import "basetsd.h"; import "oaidl.idl"; cpp_quote("#define UPDATE_TERMSRV 0x000800000") cpp_quote("#define UPDATE_TERMSRV_SESSDIR 0x000800001") typedef struct tagMenuExtension { WCHAR MenuItemName[ 80 ]; WCHAR StatusBarText[ 260 ]; UINT cmd; LONG fFlags; } MENUEXTENSION , *PMENUEXTENSION; [ local, object, uuid(0a0e4056-aaa9-4a67-b157-98305418ccf0), helpstring("IExtendServerSettings"), pointer_default(unique) ] interface IExtendServerSettings : IUnknown { [ helpstring("returns property name") ] HRESULT GetAttributeName( [ out , string ] WCHAR * pwszAttribName ); [ helpstring("returns property value name") ] HRESULT GetDisplayableValueName( [ out , string ] WCHAR * pwszAttribValueName ); [ helpstring("returns property value name") ] HRESULT InvokeUI( [ in ] HWND hParent , [ out ] DWORD * pdwStatus ); [ helpstring("returns a list of menu properties") ] HRESULT GetMenuItems( [ out ] int * pcbItems , [ out ] PMENUEXTENSION *pMex ); [ helpstring("called when user selects a menu item") ] HRESULT ExecMenuCmd( [ in ] UINT cmd , [ in ] HWND hParent , [ out ] DWORD * pdwStatus ); [ helpstring("called when user selects help menu item") ] HRESULT OnHelp( [ out ] int *piRet ); };