3 #include "../Include/Winheaders.h"
4 #include "../Include/Types.h"
6 #include <unordered_map>
15 typedef std::unordered_map<std::wstring, std::vector<std::wstring>> mapApiSchema;
48 BLACKBONE_API NTSTATUS
ResolvePath( std::wstring& path,
49 const std::wstring& baseName,
50 const std::wstring& searchDir,
53 HANDLE actx = INVALID_HANDLE_VALUE );
61 BLACKBONE_API NTSTATUS
ProbeSxSRedirect( std::wstring& path, HANDLE actx = INVALID_HANDLE_VALUE );
74 std::wstring GetProcessDirectory( DWORD pid );
80 template<
typename T1,
typename T2,
typename T3,
typename T4>
84 mapApiSchema _apiSchema;
BLACKBONE_API bool Initialize()
Initialize api set map
Definition: NameResolve.cpp:38
Definition: NameResolve.h:13
BLACKBONE_API NTSTATUS ProbeSxSRedirect(std::wstring &path, HANDLE actx=INVALID_HANDLE_VALUE)
Try SxS redirection
Definition: NameResolve.cpp:296
Definition: AsmHelper32.cpp:6
BLACKBONE_API NTSTATUS ResolvePath(std::wstring &path, const std::wstring &baseName, const std::wstring &searchDir, eResolveFlag flags, DWORD procID, HANDLE actx=INVALID_HANDLE_VALUE)
Resolve image path.
Definition: NameResolve.cpp:108