File: Microsoft\Office\MSOCRINFO.cs
Web Access
Project: src\src\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj (System.Windows.Forms.Primitives)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Runtime.InteropServices;
 
namespace Microsoft.Office;
 
[StructLayout(LayoutKind.Sequential)]
internal struct MSOCRINFO
{
    /// <summary>
    ///  The size, in bytes, of the <see cref="MSOCRINFO" /> structure.
    /// </summary>
    public uint cbSize;
 
    /// <summary>
    ///  The interval time, in milliseconds, of when a periodic idle phase
    ///  should occur. During the idle phase, the component needs to perform
    ///  idle-time tasks. This member applies only if the msocrfNeedPeriodicIdleTime
    ///  bit flag is registered in the <see cref="grfcrf" /> member.
    /// </summary>
    public uint uIdleTimeInterval;
 
    /// <summary>
    ///  Registration flags.
    /// </summary>
    public msocrf grfcrf;
 
    /// <summary>
    ///  Registration advise flags.
    /// </summary>
    public msocadvf grfcadvf;
}