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.
47 lines
1.4 KiB
47 lines
1.4 KiB
//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 );
|
|
|
|
};
|
|
|