search for: createhardlink

Displaying 6 results from an estimated 6 matches for "createhardlink".

2009 Mar 03
3
CreateHardLink problem
...'m developing a Windows backup application that needs to be able to create possibly hundreds of thousands of hard links on an SMB share. I'm running into a strange problem when that share happens to be on a Samba server. When the application tries to create the 10000th hard link, the win32 CreateHardLink() function returns error code 5 "Access is denied". The Samba log shows: [2009/03/03 01:29:08, 0] smbd/files.c:file_new(79) ERROR! Out of file structures Some googling suggested that the "out of file structures" error occurs when Samba exceeds its max open files limit. Su...
2012 Dec 08
2
file.link on Windows 7
...he segment in file src/main/platform.c seems right, not mistaking argument 'from' for 'to': #ifdef Win32 wchar_t *from, *to; from = filenameToWchar(STRING_ELT(f1, i%n1), TRUE); to = filenameToWchar(STRING_ELT(f2, i%n2), TRUE); LOGICAL(ans)[i] = CreateHardLinkW(to, from, NULL) != 0; if(!LOGICAL(ans)[i]) { warning(_("cannot link '%ls' to '%ls', reason '%s'"), from, to, formatError(GetLastError())); } #else But there's something going on. The link is not created and the warning...
2015 Sep 04
0
Wine release 1.7.51
...w and hide the open dropdown menu dynamically. comdlg32: Show open dropdown menu on button press. advapi32: RegOpenKeyEx can return special roots when asked for empty subkey. mscoree: Don't modify the PATH environment variable. YongHao Hu (1): include: Add definition of CreateHardLink. Zhenbo Li (5): mshtml: Add IHTMLOptionElement::defaultSelected property implementation. mshtml: Add IHTMLOptionElement::form property implementation. mshtml: Remove unnecessary FIXME. mshtml/tests: Fix crash on win2000 testbot. shell32: Fix return type for helper fun...
2020 Mar 13
0
Wine release 5.4
...ilter::EnumMediaStreams(). amstream: Allow AMMSF_ADDDEFAULTRENDERER only with MSPID_PrimaryAudio. amstream: Return E_INVALIDARG if AMMSF_ADDDEFAULTRENDERER is requested with a non-NULL ret_stream parameter. kernel32/tests: Add some tests for hard links. kernel32: Reimplement CreateHardLink() on top of NtSetInformationFile(FileLinkInformation). wined3d: Stop setting the device state in wined3d_stateblock_apply(). wined3d: Remove no longer used device state functions. amstream: Simplify IAMMultiMediaStream::GetFilterGraph(). amstream: Create a default filter gra...
2008 Jul 25
0
Wine release 1.1.2
...face and IMLangString interface. mlang: Correct and fill out Japanese locale information. winex11: Add Japanese Mac keyboard layout as many of the vkey code are quite different. Aurimas Fischer (1): richedit: Spelling fixes. Cesar Eduardo Barros (1): kernel32: Add stub for CreateHardLink. Dan Hipschman (12): libs/wine: Avoid over-allocating memory in default_dbgstr_wn. kernel32/tests: Fix p_BindIoCompletionCallback declaration so it compiles with the MS compiler. kernel32/tests: Add tests for timer queues. kernel32: Add a stub for ChangeTimerQueueTimer....
2010 May 21
0
Wine release 1.2-rc1
...to de Klijne crashes on startup 18982 Word 2007 tab stop selection is invisible 18993 Shadows and selection circles z-fight in World of Warcraft 19234 Emperor fails to change resolution or be fullscreen 19848 Arma 2: Crash on startup 19877 Zeta Minibrowser crashes (because of stubbed CreateHardLinkW) 20204 enhanced metafile retrieval fails and crashes clipboard test 20210 Roller Coaster Tycoon 3 Expansions: Crashes to desktop while loading. 20533 Random black artifacts while playing The Settlers - 10th Anniversary - Demo 20676 winedbg minidumps can not be loaded by WinDbg 21287...