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! {
403
403
pub fn RtlCaptureContext ( ContextRecord : PCONTEXT ) -> ( ) ;
404
404
pub fn LoadLibraryA ( a: * const i8 ) -> HMODULE ;
405
405
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 ;
412
406
pub fn GetCurrentProcessId ( ) -> DWORD ;
413
407
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 ;
423
408
pub fn CreateMutexA (
424
409
attrs: LPSECURITY_ATTRIBUTES ,
425
410
initial: BOOL ,
@@ -460,16 +445,6 @@ ffi! {
460
445
lpme: LPMODULEENTRY32W ,
461
446
) -> BOOL ;
462
447
}
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
- }
473
448
}
474
449
475
450
#[ cfg( any( target_arch = "x86_64" , target_arch = "aarch64" ) ) ]
You can’t perform that action at this time.
0 commit comments