search for: lpsecurity_attributes

Displaying 4 results from an estimated 4 matches for "lpsecurity_attributes".

Did you mean: _security_attributes
2019 Apr 26
2
[ASan][Windows] Interceptor function type not compatible with intercepted function
...ible (in C++ typing terms) with the “real” function. This seems to be the case for the following 2 functions: CreateThread “no conversion”: From: 'DWORD (__cdecl *)(void * , __sanitizer::uptr, DWORD (__cdecl *)(void *), void *, DWORD, void * )' To : 'HANDLE (__cdecl *)(LPSECURITY_ATTRIBUTES, SIZE_T , LPTHREAD_START_ROUTINE , LPVOID, DWORD, LPDWORD)' __C_specific_handler: From: 'int (__cdecl *)(void * , void *, void * , void * )' To: 'EXCEPTION_DISPOSITION (__cdecl *)(_EXCEPTION_RECORD *, void *, _CONTEXT *,...
2013 Apr 20
1
One tiny Windows Unicode patch
...d_utf8(const char *filename, int pmode); int utime_utf8(const char *filename, struct utimbuf *times); int unlink_utf8(const char *filename); int rename_utf8(const char *oldname, const char *newname); +HANDLE WINAPI CreateFile_utf8(const char *lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile); #ifdef __cplusplus } /* extern "C" */ diff --git a/src/share/grabbag/file.c b/src/share/grabbag/file.c index dd2880c..a3706f1 100644 --- a/src/share/grabbag/file.c +++ b/src/share/gra...
2005 Sep 16
1
incorrect shared access to the file - samba oplock bug?
...file doesn't help - only the old snapshot of the file can be read. Touching the file from other program like Explorer has effect - Windows refreshes the file to it's current state. The file is opening from Windows as follow: CreateFile(file_name, GENERIC_READ, FILE_SHARE_WRITE, (LPSECURITY_ATTRIBUTES)NULL, OPEN_EXISTING, FILE_ATTRIBUTE_HIDDEN, (HANDLE)NULL)) Samba v. 2.2.7a, Linux kernel v. 2.4.20, oplock parameters - default. The effect is same in Windows 98 and XP. Please help!
2016 Feb 08
2
Compilation failure using mingw-w64 and gcc-5.3.0
...hare/win_utf8_io.h:54:43: warning: its scope is only this definition or declaration, which is probably not what you want ../../include/share/win_utf8_io.h:59:1: error: unknown type name 'HANDLE' HANDLE WINAPI CreateFile_utf8(const char *lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreati ^ ../../include/share/win_utf8_io.h:59:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CreateFile_utf8' HANDLE WINAPI CreateFile_utf8(const char *lpFileName, DWORD dwDesiredAccess, DWORD dwSha...