¡@

Home 

c++ Programming Glossary: file_share_read

Direct access to harddrive?

http://stackoverflow.com/questions/2702853/direct-access-to-harddrive

be an administrator . You must use both the CreateFile FILE_SHARE_READ and FILE_SHARE_WRITE flags to gain access to the drive. Once..

Resolving RVA's for Import and Export tables within a PE file

http://stackoverflow.com/questions/2975639/resolving-rvas-for-import-and-export-tables-within-a-pe-file

following hSrcFile CreateFile pszSrcFilename GENERIC_READ FILE_SHARE_READ NULL OPEN_EXISTING 0 NULL hMapSrcFile CreateFileMapping hSrcFile..

Using IOCTL_MOUNTMGR_QUERY_POINTS

http://stackoverflow.com/questions/3012828/using-ioctl-mountmgr-query-points

hMountMgr CreateFile MOUNTMGR_DOS_DEVICE_NAME 0 FILE_SHARE_READ FILE_SHARE_WRITE NULL OPEN_EXISTING 0 NULL if hMountMgr INVALID_HANDLE_VALUE.. 1740030578903736 0 hDevice CreateFile szDeviceName 0 FILE_SHARE_READ FILE_SHARE_WRITE NULL OPEN_EXISTING 0 NULL if hDevice INVALID_HANDLE_VALUE..

C++/Win32: How to wait for a pending delete to complete?

http://stackoverflow.com/questions/3764072/c-win32-how-to-wait-for-a-pending-delete-to-complete

true HANDLE hFile CreateFileA pszFilename FILE_ALL_ACCESS FILE_SHARE_READ NULL CREATE_NEW FILE_ATTRIBUTE_NORMAL NULL if hFile INVALID_HANDLE_VALUE..

Find and eject a USB device based on its VID/PID

http://stackoverflow.com/questions/4065473/find-and-eject-a-usb-device-based-on-its-vid-pid

device. HANDLE hDrive CreateFile pspdidd DevicePath 0 FILE_SHARE_READ FILE_SHARE_WRITE NULL OPEN_EXISTING 0 NULL if hDrive INVALID_HANDLE_VALUE.. 4 driveletter HANDLE hVolume CreateFile devicepath 0 FILE_SHARE_READ FILE_SHARE_WRITE NULL OPEN_EXISTING 0 NULL if INVALID_HANDLE_VALUE..

C++ — how to write a sample code that will crash and produce dump file?

http://stackoverflow.com/questions/5028781/c-how-to-write-a-sample-code-that-will-crash-and-produce-dump-file

t.wSecond auto hFile CreateFileA name GENERIC_WRITE FILE_SHARE_READ 0 CREATE_ALWAYS FILE_ATTRIBUTE_NORMAL 0 if hFile INVALID_HANDLE_VALUE..

How can I detect only deleted, changed, and created files on a volume?

http://stackoverflow.com/questions/7421440/how-can-i-detect-only-deleted-changed-and-created-files-on-a-volume

n drive CreateFile L c GENERIC_READ FILE_SHARE_DELETE FILE_SHARE_READ FILE_SHARE_WRITE NULL OPEN_ALWAYS FILE_FLAG_NO_BUFFERING NULL..

List Of Physical Storage Devices win32 C++

http://stackoverflow.com/questions/7584627/list-of-physical-storage-devices-win32-c

OpenVol s n volName HANDLE hVol CreateFile volName 0 FILE_SHARE_READ FILE_SHARE_WRITE NULL OPEN_EXISTING 0 NULL if hVol INVALID_HANDLE_VALUE..

Multiple threads reading from the same file

http://stackoverflow.com/questions/823479/multiple-threads-reading-from-the-same-file

DWORD numread HANDLE h CreateFile c test.txt GENERIC_READ FILE_SHARE_READ NULL OPEN_EXISTING 0 NULL SetFilePointer h i 1000 NULL FILE_BEGIN..

C++ std::string conversion problem on Windows

http://stackoverflow.com/questions/874433/c-stdstring-conversion-problem-on-windows

... HANDLE hFile CreateFile filename.c_str GENERIC_READ FILE_SHARE_READ NULL OPEN_EXISTING 0 NULL ... Error 'CreateFileW' cannot convert..

Why is CreateFile failing to open a file across a network share?

http://stackoverflow.com/questions/9587756/why-is-createfile-failing-to-open-a-file-across-a-network-share

on our domain. iNCfile CreateFile iNCfileName GENERIC_READ FILE_SHARE_READ NULL OPEN_EXISTING FILE_FLAG_SEQUENTIAL_SCAN NULL if iNCfile..