diff options
author | Simon Rozman <simon@rozman.si> | 2020-10-15 11:32:06 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-30 16:51:00 +0100 |
commit | 16a9737578c585db969be64b522777c18d2b1ad6 (patch) | |
tree | e52f5b04d7c92811a8987cccdc2a0a52363202ef /api/resource.c | |
parent | api: simplify logger macros names (diff) | |
download | wintun-16a9737578c585db969be64b522777c18d2b1ad6.tar.xz wintun-16a9737578c585db969be64b522777c18d2b1ad6.zip |
api: internal reorganization
Gather adapter management in adapter.h/.c (formerly devmgmt.h/.c) and
unify HwID tests.
Use "Namespace" namespace in all functions from namespace.h/.c.
Fix char strings in LOG_...
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/resource.c')
-rw-r--r-- | api/resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/resource.c b/api/resource.c index b59911e..7b1ea59 100644 --- a/api/resource.c +++ b/api/resource.c @@ -58,7 +58,7 @@ ResourceCopyToFile( DWORD SizeResource; DWORD Result = ResourceGetAddress(ResourceName, &LockedResource, &SizeResource); if (Result != ERROR_SUCCESS) - return LOG_ERROR("Failed to locate resource", Result); + return LOG_ERROR(L"Failed to locate resource", Result); HANDLE DestinationHandle = CreateFileW( DestinationPath, GENERIC_WRITE, |