windows-nt/Source/XPSP1/NT/sdktools/symlink/common.h
2020-09-26 16:20:57 +08:00

36 lines
589 B
C

#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
VOID
GetCommandLineArgs(
LPDWORD NumberOfArguments,
LPWSTR Arguments[]
);
//
// API calls to create and query symbolic links and to create hard links.
//
BOOL
CreateSymbolicLinkW(
LPCWSTR lpFileName,
LPCWSTR lpLinkValue,
BOOLEAN IsMountPoint,
LPSECURITY_ATTRIBUTES lpSecurityAttributes
);
BOOL
SetSymbolicLinkW(
LPCWSTR lpFileName,
LPCWSTR lpLinkValue
);
DWORD
QuerySymbolicLinkW(
LPCWSTR lpExistingName,
LPWSTR lpBuffer,
DWORD nBufferLength
);