MCPcopy Create free account
hub / github.com/Kudaes/Split / rtl_init_unicode_string

Function rtl_init_unicode_string

dinvoke/src/lib.rs:787–796  ·  view source on GitHub ↗
(destination_string: *mut UNICODE_STRING, source_string: *const u16)

Source from the content-addressed store, hash-verified

785}
786
787pub fn rtl_init_unicode_string (destination_string: *mut UNICODE_STRING, source_string: *const u16) -> ()
788{
789 unsafe
790 {
791 let _ret: Option<()>;
792 let func_ptr: data::RtlInitUnicodeString;
793 let ntdll = get_module_base_address(&lc!("ntdll.dll"));
794 dynamic_invoke!(ntdll,&lc!("RtlInitUnicodeString"),func_ptr,_ret,destination_string, source_string);
795 }
796}
797
798pub fn nt_create_user_process(process_handle: *mut HANDLE, thread_handle: *mut HANDLE, process_access: u32, thread_access: u32, object_attributes: *mut OBJECT_ATTRIBUTES,
799 thread_object_attr: *mut OBJECT_ATTRIBUTES, process_flags: u32, thread_flags: u32, parameters: PVOID, create_info: *mut PS_CREATE_INFO, attr_list: *mut PS_ATTRIBUTE_LIST) -> i32 {

Callers

nothing calls this directly

Calls 1

get_module_base_addressFunction · 0.85

Tested by

no test coverage detected