File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -403,23 +403,8 @@ ffi! {
403403 pub fn RtlCaptureContext ( ContextRecord : PCONTEXT ) -> ( ) ;
404404 pub fn LoadLibraryA ( a: * const i8 ) -> HMODULE ;
405405 pub fn GetProcAddress ( h: HMODULE , name: * const i8 ) -> FARPROC ;
406- pub fn GetModuleHandleA ( name: * const i8 ) -> HMODULE ;
407- pub fn OpenProcess (
408- dwDesiredAccess: DWORD ,
409- bInheitHandle: BOOL ,
410- dwProcessId: DWORD ,
411- ) -> HANDLE ;
412406 pub fn GetCurrentProcessId ( ) -> DWORD ;
413407 pub fn CloseHandle ( h: HANDLE ) -> BOOL ;
414- pub fn CreateFileA (
415- lpFileName: LPCSTR ,
416- dwDesiredAccess: DWORD ,
417- dwShareMode: DWORD ,
418- lpSecurityAttributes: LPSECURITY_ATTRIBUTES ,
419- dwCreationDisposition: DWORD ,
420- dwFlagsAndAttributes: DWORD ,
421- hTemplateFile: HANDLE ,
422- ) -> HANDLE ;
423408 pub fn CreateMutexA (
424409 attrs: LPSECURITY_ATTRIBUTES ,
425410 initial: BOOL ,
@@ -460,16 +445,6 @@ ffi! {
460445 lpme: LPMODULEENTRY32W ,
461446 ) -> BOOL ;
462447 }
463-
464- #[ link( name = "ntdll" ) ]
465- extern "system" {
466- pub fn RtlCaptureStackBackTrace (
467- FramesToSkip : ULONG ,
468- FramesToCapture : ULONG ,
469- BackTrace : * mut PVOID ,
470- BackTraceHash : PULONG ,
471- ) -> USHORT ;
472- }
473448}
474449
475450#[ cfg( any( target_arch = "x86_64" , target_arch = "aarch64" ) ) ]
You can’t perform that action at this time.
0 commit comments