Files
Roger 76e2615db2 refactor(windows): clean up Chrome ABE module (#574)
* refactor(abe): remove --abe-key flag and its global state
* refactor(abe): rework scratch protocol and Go/C structure
2026-04-19 15:20:51 +08:00

28 lines
671 B
C

#ifndef HBD_ABE_COM_IID_H
#define HBD_ABE_COM_IID_H
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
typedef enum BrowserKind {
BROWSER_UNKNOWN = 0,
BROWSER_CHROME_BASE, // DecryptData at vtable slot 5
BROWSER_EDGE, // DecryptData at vtable slot 8
BROWSER_AVAST, // DecryptData at vtable slot 13
} BrowserKind;
typedef struct BrowserComIds {
const char *exe_basename;
BrowserKind kind;
GUID clsid;
GUID iid_v1;
BOOL has_iid_v2;
GUID iid_v2;
} BrowserComIds;
const BrowserComIds *LookupBrowserByExe(const char *exe_basename);
unsigned int DecryptDataVtblIndex(BrowserKind kind);
#endif // HBD_ABE_COM_IID_H