Skip to content

Commit

Permalink
test mangling
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed May 20, 2024
1 parent 9ac77f7 commit dad1e54
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ typedef HRESULT (__stdcall *ValidateJson)(uintptr_t handle, char const* value, s
typedef void (__stdcall *CloseJsonValidator)(uintptr_t handle);

extern "C" {
void __stdcall CoTaskMemFree(void* ptr);

void __stdcall client() {
auto library = LoadLibraryExW(L"sample_component_json_validator.dll", 0, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS);
assert(library != 0);
Expand Down

0 comments on commit dad1e54

Please sign in to comment.