2 implementations of FRegisterComponent
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentManager.cs (1)
61BOOL IMsoComponentManager.Interface.FRegisterComponent(
System.Windows.Forms.Primitives (1)
Microsoft\Office\IMsoComponentManager.NativeAdapter.cs (1)
34BOOL Interface.FRegisterComponent(IMsoComponent* piComponent, MSOCRINFO* pcrinfo, nuint* dwComponentID)
22 references to FRegisterComponent
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
140bool 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)
49Assert.False(manager.FRegisterComponent(component, &info, null)); 50Assert.False(manager.FRegisterComponent(component, null, &id)); 63Assert.False(manager.FRegisterComponent(component, &info, &id)); 77Assert.True(manager.FRegisterComponent(component, &info, &id)); 81Assert.True(manager.FRegisterComponent(component, &info, &newId)); 98Assert.True(manager.FRegisterComponent(component, &info, &id)); 113Assert.True(manager.FRegisterComponent(component, &info, &id)); 128Assert.True(manager.FRegisterComponent(component, &info, &id)); 158Assert.True(manager.FRegisterComponent(component, &info, &id)); 190Assert.True(manager.FRegisterComponent(component, &info, &id)); 221Assert.True(manager.FRegisterComponent(component, &info, &id)); 310Assert.True(manager.FRegisterComponent(component1, &info, &firstId)); 313Assert.True(manager.FRegisterComponent(component2, &info, &secondId));