Esempio n. 1
0
 public static DInvoke.Data.Native.NTSTATUS NtDeleteValueKey(IntPtr keyHandle, ref DInvoke.Data.Native.UNICODE_STRING valueName)
 {
     object[] funcargs =
     {
         keyHandle, valueName
     };
     DInvoke.Data.Native.NTSTATUS retvalue = (DInvoke.Data.Native.NTSTATUS)DInvoke.DynamicInvoke.Generic.DynamicAPIInvoke(@"ntdll.dll", @"NtDeleteValueKey", typeof(DELEGATES.NtDeleteValueKey), ref funcargs);
     return(retvalue);
 }
Esempio n. 2
0
 public static DInvoke.Data.Native.NTSTATUS NtSetValueKey(IntPtr keyHandle, ref DInvoke.Data.Native.UNICODE_STRING valueName, int titleIndex, STRUCTS.REGISTRY_TYPES type, IntPtr data, int dataSize)
 {
     object[] funcargs =
     {
         keyHandle, valueName, titleIndex, type, data, dataSize
     };
     DInvoke.Data.Native.NTSTATUS retvalue = (DInvoke.Data.Native.NTSTATUS)DInvoke.DynamicInvoke.Generic.DynamicAPIInvoke(@"ntdll.dll", @"NtSetValueKey", typeof(DELEGATES.NtSetValueKey), ref funcargs);
     return(retvalue);
 }