forked from OSchip/llvm-project
parent
5be404de76
commit
772caff532
|
@ -23,12 +23,12 @@
|
|||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
typedef BOOLEAN (WINAPI *PtrCreateSymbolicLinkW)(
|
||||
/*__in*/ LPCWSTR lpSymlinkFileName,
|
||||
/*__in*/ LPCWSTR lpTargetFileName,
|
||||
/*__in*/ DWORD dwFlags);
|
||||
|
||||
PtrCreateSymbolicLinkW create_symbolic_link_api = PtrCreateSymbolicLinkW(
|
||||
typedef BOOLEAN (WINAPI *PtrCreateSymbolicLinkW)(
|
||||
/*__in*/ LPCWSTR lpSymlinkFileName,
|
||||
/*__in*/ LPCWSTR lpTargetFileName,
|
||||
/*__in*/ DWORD dwFlags);
|
||||
|
||||
PtrCreateSymbolicLinkW create_symbolic_link_api = PtrCreateSymbolicLinkW(
|
||||
::GetProcAddress(::GetModuleHandleA("kernel32.dll"),
|
||||
"CreateSymbolicLinkW"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue