kernel32: Add stub for CreateHardLink.

This commit is contained in:
Cesar Eduardo Barros 2008-07-22 08:19:22 -03:00 committed by Alexandre Julliard
parent b4a77bcd53
commit fee6b384e1
2 changed files with 28 additions and 2 deletions

View File

@ -224,8 +224,8 @@
@ stdcall CreateFileMappingA(long ptr long long long str)
@ stdcall CreateFileMappingW(long ptr long long long wstr)
@ stdcall CreateFileW(wstr long long ptr long long long)
# @ stub CreateHardLinkA
# @ stub CreateHardLinkW
@ stdcall CreateHardLinkA(str str ptr)
@ stdcall CreateHardLinkW(wstr wstr ptr)
@ stdcall CreateIoCompletionPort(long long long long)
@ stdcall CreateJobObjectA(ptr str)
@ stdcall CreateJobObjectW(ptr wstr)

View File

@ -1193,6 +1193,32 @@ BOOL WINAPI MoveFileA( LPCSTR source, LPCSTR dest )
}
/*************************************************************************
* CreateHardLinkW (KERNEL32.@)
*/
BOOL WINAPI CreateHardLinkW(LPCWSTR lpFileName, LPCWSTR lpExistingFileName,
LPSECURITY_ATTRIBUTES lpSecurityAttributes)
{
FIXME("(%s, %s, %p): stub\n", debugstr_w(lpFileName),
debugstr_w(lpExistingFileName), lpSecurityAttributes);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/*************************************************************************
* CreateHardLinkA (KERNEL32.@)
*/
BOOL WINAPI CreateHardLinkA(LPCSTR lpFileName, LPCSTR lpExistingFileName,
LPSECURITY_ATTRIBUTES lpSecurityAttributes)
{
FIXME("(%s, %s, %p): stub\n", debugstr_a(lpFileName),
debugstr_a(lpExistingFileName), lpSecurityAttributes);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* CreateDirectoryW (KERNEL32.@)
* RETURNS: