|
static BOOL | FileIsHandled (HANDLE handle) |
|
static int | FileGetFd (HANDLE handle) |
|
static BOOL | FileCloseHandle (HANDLE handle) |
|
static BOOL | FileSetEndOfFile (HANDLE hFile) |
|
static DWORD | FileSetFilePointer (HANDLE hFile, LONG lDistanceToMove, const PLONG lpDistanceToMoveHigh, DWORD dwMoveMethod) |
|
static BOOL | FileSetFilePointerEx (HANDLE hFile, LARGE_INTEGER liDistanceToMove, PLARGE_INTEGER lpNewFilePointer, DWORD dwMoveMethod) |
|
static BOOL | FileRead (PVOID Object, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped) |
|
static BOOL | FileWrite (PVOID Object, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped) |
|
static DWORD | FileGetFileSize (HANDLE Object, LPDWORD lpFileSizeHigh) |
|
static BOOL | FileGetFileInformationByHandle (HANDLE hFile, LPBY_HANDLE_FILE_INFORMATION lpFileInformation) |
|
static BOOL | FileLockFileEx (HANDLE hFile, DWORD dwFlags, DWORD dwReserved, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh, LPOVERLAPPED lpOverlapped) |
|
static BOOL | FileUnlockFile (HANDLE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHigh, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh) |
|
static BOOL | FileUnlockFileEx (HANDLE hFile, DWORD dwReserved, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh, LPOVERLAPPED lpOverlapped) |
|
static UINT64 | FileTimeToUS (const FILETIME *ft) |
|
static BOOL | FileSetFileTime (HANDLE hFile, const FILETIME *lpCreationTime, const FILETIME *lpLastAccessTime, const FILETIME *lpLastWriteTime) |
|
static const char * | FileGetMode (DWORD dwDesiredAccess, DWORD dwCreationDisposition, BOOL *create) |
|
UINT32 | map_posix_err (int fs_errno) |
|
static HANDLE | FileCreateFileA (LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) |
|
static BOOL | IsFileDevice (LPCTSTR lpDeviceName) |
|
HANDLE_CREATOR * | GetFileHandleCreator (void) |
|
static WINPR_FILE * | FileHandle_New (FILE *fp) |
|
HANDLE | GetStdHandle (DWORD nStdHandle) |
|
BOOL | SetStdHandle (DWORD nStdHandle, HANDLE hHandle) |
|
BOOL | SetStdHandleEx (DWORD dwStdHandle, HANDLE hNewHandle, HANDLE *phOldHandle) |
|
BOOL | GetDiskFreeSpaceA (LPCSTR lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters) |
|
BOOL | GetDiskFreeSpaceW (LPCWSTR lpwRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters) |
|
BOOL | ValidFileNameComponent (LPCWSTR lpFileName) |
|
HANDLE | GetFileHandleForFileDescriptor (int fd) |
|
FILE * | winpr_fopen (const char *path, const char *mode) |
|
WinPR: Windows Portable Runtime File Functions
Copyright 2015 Thincast Technologies GmbH Copyright 2015 Bernhard Miklautz bernh.nosp@m.ard..nosp@m.mikla.nosp@m.utz@.nosp@m.thinc.nosp@m.ast..nosp@m.com Copyright 2016 David PHAM-VAN d.pha.nosp@m.mvan.nosp@m.@inuv.nosp@m.ika..nosp@m.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.