コード例 #1
0
 public Register(string p, REGTYPE t)
 {
     name = p;
     type = t;
     Debug.Assert(t >= 0 && t < REGTYPE.NUMTYPES);
     regCount = REGCOUNT[(int)t];
     enabled  = type == REGTYPE.STRING ? false : true;
     var      = null;
 }
コード例 #2
0
 public void ReadFromDemoFile(VFileDemo f)
 {
     f.ReadBool(out enabled);
     f.ReadShort(out short type); this.type = (REGTYPE)type;
     f.ReadInt(out regCount);
     for (var i = 0; i < 4; i++)
     {
         f.ReadUnsignedShort(out regs[i]);
     }
     name = f.ReadHashString();
 }
コード例 #3
0
 public static extern int CeRegSetValueEx(IntPtr hKey, string lpValueName, int Reserved, REGTYPE dwType, ref int lpData, int cbData);
コード例 #4
0
 public static extern int CeRegQueryValueEx(IntPtr hKey, string lpValueName, int lpReserved, ref REGTYPE lpType, ref int piData, ref int lpcbData);
コード例 #5
0
 public static extern int CeRegQueryValueEx(IntPtr hKey, string lpValueName, int Res1, ref REGTYPE lpType, IntPtr iptrData, ref int lpcbData);
コード例 #6
0
 public static extern int CeRegEnumValue(IntPtr hKey, int dwIndex, string lpszName, ref int lpcbName, int Res, ref REGTYPE lpType, IntPtr lpData, ref int lpcbData);
コード例 #7
0
 RegSetValueEx(IntPtr hKey, string lpValueName,
               int Res1, REGTYPE dwType,
               string strData, int cbData);
コード例 #8
0
 RegQueryValueEx(IntPtr hKey, string lpValueName,
                 int Res1, ref REGTYPE lpType,
                 ref int piData, ref int lpcbData);