loader: remove references to shlwapi.lib
authorSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 24 Jan 2018 14:34:15 +0000 (15:34 +0100)
committerLenny Komow <lenny@lunarg.com>
Mon, 12 Feb 2018 20:23:57 +0000 (13:23 -0700)
commitfe80c2a1c1fde5c886ec3ddaab6d8a57dbcf9538
tree20774a40972fe5e13d7ca5fbceef742c1496ed70
parent4a07c6ea848d80a393c849f4480267a1300bcabe
loader: remove references to shlwapi.lib

This change improves loader compatibility with Universal
Windows drivers[1]: shlwapi.lib is not a part of allowed APIs.

It seems PathFileExists call was already redundant as
ERROR_MOD_NOT_FOUND was already returned by the loader in
cse of wrong dll path.

PathIsRelative is replaced by equivalent check.

[1] https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/getting-started-with-universal-drivers

Change-Id: I36854f38078670ac033e8bd415dbf368391e8448
loader/CMakeLists.txt
loader/vk_loader_platform.h