Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
624 B

#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
);