Skip to content

Commit 77408c3

Browse files
committed
Handles view
`_NO_ADDRINFO` is set to avoid conflict in `HandlesView.cpp`. (There is an `ADDRINFO` structure for the networking already.)
1 parent 98bafd4 commit 77408c3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/bridge/bridgemain.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ typedef struct
352352
duint start; //OUT
353353
duint end; //OUT
354354
} LOOP;
355-
355+
#ifndef _NO_ADDRINFO
356356
typedef struct
357357
{
358358
int flags; //ADDRINFOFLAGS (IN)
@@ -363,7 +363,7 @@ typedef struct
363363
FUNCTION function;
364364
LOOP loop;
365365
} ADDRINFO;
366-
366+
#endif
367367
struct SYMBOLINFO_
368368
{
369369
duint addr;
@@ -725,6 +725,11 @@ BRIDGE_IMPEXP bool DbgWinEventGlobal(MSG* message);
725725
BRIDGE_IMPEXP bool DbgIsRunning();
726726
BRIDGE_IMPEXP duint DbgGetTimeWastedCounter();
727727
BRIDGE_IMPEXP ARGTYPE DbgGetArgTypeAt(duint addr);
728+
BRIDGE_IMPEXP long DbgGetHandleCount();
729+
BRIDGE_IMPEXP long DbgEnumHandles(duint* handles, unsigned char* typeNumbers, unsigned int* grantedAccess, unsigned int maxcount);
730+
BRIDGE_IMPEXP bool DbgGetHandleName(char* name, char* typeName, size_t buffersize, duint remotehandle);
731+
BRIDGE_IMPEXP bool DbgGetHandleInfo(duint remotehandle, duint* refcount, duint* access);
732+
BRIDGE_IMPEXP PROCESS_INFORMATION* DbgGetProcessInformation();
728733

729734
//Gui defines
730735
#define GUI_PLUGIN_MENU 0

0 commit comments

Comments
 (0)