Ejemplo n.º 1
0
 public extern static int RegEnumKeyEx(
     long hkey,
     long index,
     string lpName,
     long lpcbName,
     long reserved,
     string lpClass,
     long lpcbClass,
     ref RegistryApi.FILETIME lpftLastWriteTime);
Ejemplo n.º 2
0
 public static extern int LwRegEnumKeyExW(
     IntPtr hRegConnection,
     IntPtr hKey,
     uint dwIndex,
     [MarshalAs(UnmanagedType.LPWStr)] StringBuilder pName,
     ref uint pcName,
     IntPtr pReserved,
     [MarshalAs(UnmanagedType.LPWStr)] StringBuilder pClass,
     ref uint pcClass,
     RegistryApi.FILETIME pftLastWriteTime);
Ejemplo n.º 3
0
 public void initializeToNull()
 {
     totalEntries = 0;
     maxKeyLength = 0;
     nameSize     = 0;
     sSubKeyCount = 0;
     sValueCount  = 0;
     sKeyname     = string.Empty;
     sClassName   = string.Empty;
     OrigKey      = string.Empty;
     filetime     = new RegistryApi.FILETIME();
     pRootKey     = IntPtr.Zero;
     pKey         = IntPtr.Zero;
 }
Ejemplo n.º 4
0
 public static extern int LwRegQueryInfoKeyW(
     IntPtr hRegConnection,
     IntPtr hKey,
     [MarshalAs(UnmanagedType.LPWStr)] out string pClass,
     ref ulong pcClass,
     int pReserved,
     out uint lpcSubKeys,
     out uint lpcbMaxSubKeyLen,
     out ulong lpcbMaxClassLen,
     out uint lpcValues,
     out uint lpcbMaxValueNameLen,
     out uint lpcbMaxValueLen,
     out IntPtr lpcbSecurityDescriptor,
     out RegistryApi.FILETIME pftLastWriteTime);