-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
IContextMenuCallback.xml
76 lines (72 loc) · 4.25 KB
/
IContextMenuCallback.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<Type Name="IContextMenuCallback" FullName="Microsoft.Aspnet.Snapin.IContextMenuCallback">
<TypeSignature Language="C#" Value="public interface IContextMenuCallback" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IContextMenuCallback" />
<TypeSignature Language="DocId" Value="T:Microsoft.Aspnet.Snapin.IContextMenuCallback" />
<TypeSignature Language="VB.NET" Value="Public Interface IContextMenuCallback" />
<TypeSignature Language="F#" Value="type IContextMenuCallback = interface" />
<TypeSignature Language="C++ CLI" Value="public interface class IContextMenuCallback" />
<AssemblyInfo>
<AssemblyName>AspNetMMCExt</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.Guid("43136EB7-D36C-11CF-ADBC-00AA00A80033")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.Guid("43136EB7-D36C-11CF-ADBC-00AA00A80033")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Adds menu items to a shortcut menu.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about programming with the IContextMenuCallback interface and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
]]></format>
</remarks>
<forInternalUseOnly />
</Docs>
<Members>
<Member MemberName="AddItem">
<MemberSignature Language="C#" Value="public int AddItem (ref Microsoft.Aspnet.Snapin.CONTEXTMENUITEM pItem);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 AddItem(valuetype Microsoft.Aspnet.Snapin.CONTEXTMENUITEM& pItem) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Aspnet.Snapin.IContextMenuCallback.AddItem(Microsoft.Aspnet.Snapin.CONTEXTMENUITEM@)" />
<MemberSignature Language="VB.NET" Value="Public Function AddItem (ByRef pItem As CONTEXTMENUITEM) As Integer" />
<MemberSignature Language="F#" Value="abstract member AddItem : CONTEXTMENUITEM -> int" Usage="iContextMenuCallback.AddItem pItem" />
<MemberSignature Language="C++ CLI" Value="public:
 int AddItem(Microsoft::Aspnet::Snapin::CONTEXTMENUITEM % pItem);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>AspNetMMCExt</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pItem" Type="Microsoft.Aspnet.Snapin.CONTEXTMENUITEM" RefType="ref" />
</Parameters>
<Docs>
<param name="pItem">A pointer to a <see cref="T:Microsoft.Aspnet.Snapin.CONTEXTMENUITEM" /> with the item to add.</param>
<summary>Adds a single item to a shortcut menu.</summary>
<returns>| Return Value | Description |
| --- | --- |
| S\_OK | pItem was added successfully. |
| E\_UNEXPECTED | An unexpected error occurred. |
| E\_POINTER | pItem is null (Nothing in Visual Basic). |
| E\_INVALIDARG | One or more of the <see cref="T:Microsoft.Aspnet.Snapin.CONTEXTMENUITEM" /> members contains one or more values that are not valid or the values cause a known error. |
</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about programming with the <xref:Microsoft.Aspnet.Snapin.IContextMenuCallback> interface and the Microsoft Management Console (MMC), see the [MMC Programmer's Guide](https://learn.microsoft.com/previous-versions/windows/desktop/mmc/mmc-programmer-s-guide-overview).
]]></format>
</remarks>
<forInternalUseOnly />
</Docs>
</Member>
</Members>
</Type>