winpr/libwinpr/file/file.h File Reference
#include <winpr/winpr.h>
#include <winpr/wtypes.h>
#include <winpr/nt.h>
#include <winpr/io.h>
#include <winpr/error.h>
#include <stdio.h>
#include "../handle/handle.h"
This graph shows which files directly or indirectly include this file:

Data Structures

struct  WINPR_FILE


#define EPOCH_DIFF   11644473600LL
#define STAT_TIME_TO_FILETIME(_t)   (((UINT64)(_t) + EPOCH_DIFF) * 10000000LL)


HANDLE_CREATORGetFileHandleCreator (void)
UINT32 map_posix_err (int fs_errno)

Macro Definition Documentation


#define EPOCH_DIFF   11644473600LL

WinPR: Windows Portable Runtime File Functions

Copyright 2015 Armin Novak Copyright 2015 Thincast Technologies GmbH Copyright 2016 David PHAM-VAN

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

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.


#define STAT_TIME_TO_FILETIME (   _t)    (((UINT64)(_t) + EPOCH_DIFF) * 10000000LL)

Function Documentation

◆ GetFileHandleCreator()

HANDLE_CREATOR* GetFileHandleCreator ( void  )
Here is the caller graph for this function:

◆ map_posix_err()

UINT32 map_posix_err ( int  fs_errno)
Here is the caller graph for this function: