prog.cpp:1:29: error: ‘LoadPE_CONTEXT’ was not declared in this scope
bool LoadPE_DirectoryExists(LoadPE_CONTEXT* ctx, unsigned long id)
^~~~~~~~~~~~~~
prog.cpp:1:45: error: ‘ctx’ was not declared in this scope
bool LoadPE_DirectoryExists(LoadPE_CONTEXT* ctx, unsigned long id)
^~~
prog.cpp:1:50: error: expected primary-expression before ‘unsigned’
bool LoadPE_DirectoryExists(LoadPE_CONTEXT* ctx, unsigned long id)
^~~~~~~~
prog.cpp:1:66: error: expression list treated as compound expression in initializer [-fpermissive]
bool LoadPE_DirectoryExists(LoadPE_CONTEXT* ctx, unsigned long id)
^
prog.cpp:7:20: error: ‘LoadPE_CONTEXT’ was not declared in this scope
bool LoadPE_HasTLS(LoadPE_CONTEXT* ctx)
^~~~~~~~~~~~~~
prog.cpp:7:36: error: ‘ctx’ was not declared in this scope
bool LoadPE_HasTLS(LoadPE_CONTEXT* ctx)
^~~
prog.cpp:12:1: error: ‘DWORD’ does not name a type
DWORD LoadPE_GetTLS(LoadPE_CONTEXT* ctx)
^~~~~
prog.cpp:17:24: error: variable or field ‘LoadPE_ProcessTLS’ declared void
void LoadPE_ProcessTLS(LoadPE_CONTEXT* ctx)
^~~~~~~~~~~~~~
prog.cpp:17:24: error: ‘LoadPE_CONTEXT’ was not declared in this scope
prog.cpp:17:40: error: ‘ctx’ was not declared in this scope
void LoadPE_ProcessTLS(LoadPE_CONTEXT* ctx)
^~~