diff options
Diffstat (limited to 'win/C#/Functions/Win32.cs')
-rw-r--r-- | win/C#/Functions/Win32.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/win/C#/Functions/Win32.cs b/win/C#/Functions/Win32.cs index e7da9d5b6..89a0c29bb 100644 --- a/win/C#/Functions/Win32.cs +++ b/win/C#/Functions/Win32.cs @@ -3,7 +3,6 @@ Homepage: <http://handbrake.fr>.
It may be used under the terms of the GNU General Public License. */
-
namespace Handbrake.Functions
{
using System;
@@ -63,6 +62,7 @@ namespace Handbrake.Functions public UInt32 dwMemoryLoad;
/// <summary>
+ /// Total Physical Memory
/// </summary>
public UInt32 dwTotalPhys; // Used
@@ -104,6 +104,18 @@ namespace Handbrake.Functions ref MEMORYSTATUS lpBuffer
);
+ /// <summary>
+ /// Generate a Console Ctrl Event
+ /// </summary>
+ /// <param name="sigevent">
+ /// The sigevent.
+ /// </param>
+ /// <param name="dwProcessGroupId">
+ /// The dw process group id.
+ /// </param>
+ /// <returns>
+ /// Bool true is sucess
+ /// </returns>
[DllImport("kernel32.dll", SetLastError = true)]
public static extern bool GenerateConsoleCtrlEvent(ConsoleCtrlEvent sigevent, int dwProcessGroupId);
|