mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 23:56:05 +02:00
25 lines
493 B
Beef
25 lines
493 B
Beef
#pragma warning disable 168
|
|
|
|
using System;
|
|
|
|
namespace Bug
|
|
{
|
|
class Program
|
|
{
|
|
static void Main()
|
|
{
|
|
/*Main_OpenReg
|
|
Windows.HKey key = 0;
|
|
Windows.RegOpenKeyExA(Windows.HKEY_LOCAL_MACHINE, @"SYSTEM\CurrentControlSet\Control\Session Manager\Environment", 0, Windows.KEY_QUERY_VALUE, out key);
|
|
if (key.IsInvalid)
|
|
Runtime.FatalError();
|
|
*/
|
|
|
|
/*Main_GetValue
|
|
String path = scope .();
|
|
if (key.GetValue("path", path) case .Err)
|
|
Runtime.FatalError();
|
|
*/
|
|
}
|
|
}
|
|
}
|