2 implementations of FRegisterComponent
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentManager.cs (1)
61
BOOL IMsoComponentManager.Interface.
FRegisterComponent
(
System.Windows.Forms.Primitives (1)
Microsoft\Office\IMsoComponentManager.NativeAdapter.cs (1)
34
BOOL Interface.
FRegisterComponent
(IMsoComponent* piComponent, MSOCRINFO* pcrinfo, nuint* dwComponentID)
22 references to FRegisterComponent
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
140
bool result = _componentManager.
FRegisterComponent
(ComHelpers.GetComPointer<IMsoComponent>(this), &info, &id);
System.Windows.Forms.Primitives (8)
Microsoft\Office\IMsoComponentManager.cs (8)
73
/// <inheritdoc cref="Interface.
FRegisterComponent
(IMsoComponent*, MSOCRINFO*, nuint*)"/>
267
/// (the cookie returned from the <see cref="
FRegisterComponent
"/> method).
275
/// (the cookie returned from <see cref="
FRegisterComponent
"/>) with the new registration
292
/// (cookie returned from <see cref="
FRegisterComponent
"/>) has been activated.
312
/// (cookie returned from <see cref="
FRegisterComponent
"/>) wishes to perform a tracking operation
342
/// (cookie returned from <see cref="
FRegisterComponent
"/>) is entering the state identified
394
/// (cookie returned from <see cref="
FRegisterComponent
"/>) is exiting the state identified by
455
/// Component identified by <paramref name="dwComponentID"/> (cookie returned from <see cref="
FRegisterComponent
"/>)
System.Windows.Forms.Tests (13)
System\Windows\Forms\Application.ComponentManagerTests.cs (13)
49
Assert.False(manager.
FRegisterComponent
(component, &info, null));
50
Assert.False(manager.
FRegisterComponent
(component, null, &id));
63
Assert.False(manager.
FRegisterComponent
(component, &info, &id));
77
Assert.True(manager.
FRegisterComponent
(component, &info, &id));
81
Assert.True(manager.
FRegisterComponent
(component, &info, &newId));
98
Assert.True(manager.
FRegisterComponent
(component, &info, &id));
113
Assert.True(manager.
FRegisterComponent
(component, &info, &id));
128
Assert.True(manager.
FRegisterComponent
(component, &info, &id));
158
Assert.True(manager.
FRegisterComponent
(component, &info, &id));
190
Assert.True(manager.
FRegisterComponent
(component, &info, &id));
221
Assert.True(manager.
FRegisterComponent
(component, &info, &id));
310
Assert.True(manager.
FRegisterComponent
(component1, &info, &firstId));
313
Assert.True(manager.
FRegisterComponent
(component2, &info, &secondId));