#include <corecrt.h>
#include <pshpack8.h>
#include <poppack.h>
Go to the source code of this file.
|
| _ACRTIMP int __cdecl | _waccess (const wchar_t *, int) |
| |
| _ACRTIMP int __cdecl | _wchmod (const wchar_t *, int) |
| |
| _ACRTIMP int __cdecl | _wcreat (const wchar_t *, int) |
| |
| _ACRTIMP intptr_t __cdecl | _wfindfirst32 (const wchar_t *, struct _wfinddata32_t *) |
| |
| _ACRTIMP intptr_t __cdecl | _wfindfirst32i64 (const wchar_t *, struct _wfinddata32i64_t *) |
| |
| _ACRTIMP intptr_t __cdecl | _wfindfirst64 (const wchar_t *, struct _wfinddata64_t *) |
| |
| _ACRTIMP intptr_t __cdecl | _wfindfirst64i32 (const wchar_t *, struct _wfinddata64i32_t *) |
| |
| _ACRTIMP int __cdecl | _wfindnext32 (intptr_t, struct _wfinddata32_t *) |
| |
| _ACRTIMP int __cdecl | _wfindnext32i64 (intptr_t, struct _wfinddata32i64_t *) |
| |
| _ACRTIMP int __cdecl | _wfindnext64 (intptr_t, struct _wfinddata64_t *) |
| |
| _ACRTIMP int __cdecl | _wfindnext64i32 (intptr_t, struct _wfinddata64i32_t *) |
| |
| _ACRTIMP wchar_t *__cdecl | _wmktemp (wchar_t *) |
| |
| _ACRTIMP int __cdecl | _wopen (const wchar_t *, int,...) |
| |
| _ACRTIMP int __cdecl | _wrename (const wchar_t *, const wchar_t *) |
| |
| _ACRTIMP int __cdecl | _wsopen (const wchar_t *, int, int,...) |
| |
| _ACRTIMP int __cdecl | _wunlink (const wchar_t *) |
| |
◆ _wfinddata_t
◆ _wfinddatai64_t
◆ _wfindfirst64
◆ _wfindfirst64i32
◆ _wfindnext64
◆ _wfindnext64i32
◆ _fsize_t
This file has no copyright assigned and is placed in the Public Domain. This file is part of the Wine project.
Definition at line 13 of file corecrt_wio.h.
◆ _waccess()
Definition at line 1017 of file file.c.
1018{
1020
1022
1024 {
1026 return -1;
1027 }
1029 {
1031 return -1;
1032 }
1033 return 0;
1034}
#define ERROR_ACCESS_DENIED
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
#define FILE_ATTRIBUTE_READONLY
#define INVALID_FILE_ATTRIBUTES
DWORD WINAPI GetLastError(void)
Referenced by _access(), and _waccess_s().
◆ _wchmod()
Definition at line 1066 of file file.c.
1067{
1069
1071 {
1074
1076 return 0;
1077 }
1079 return -1;
1080}
BOOL WINAPI SetFileAttributesW(LPCWSTR lpFileName, DWORD dwFileAttributes)
Referenced by _chmod().
◆ _wcreat()
Definition at line 2702 of file file.c.
2703{
2706}
int WINAPIV _wopen(const wchar_t *path, int flags,...)
◆ _wfindfirst32()
Definition at line 368 of file dir.c.
369{
372
375 {
377 return -1;
378 }
380 TRACE(
":got handle %p\n", hfind);
382}
static int find_data(const struct Vector *v, const BYTE *pData, int size)
#define INVALID_HANDLE_VALUE
HANDLE WINAPI FindFirstFileW(IN LPCWSTR lpFileName, OUT LPWIN32_FIND_DATAW lpFindFileData)
static void msvcrt_wfttofd32(const WIN32_FIND_DATAW *fd, struct _wfinddata32_t *ft)
Referenced by _findfirst32().
◆ _wfindfirst32i64()
◆ _wfindfirst64()
Definition at line 440 of file dir.c.
441{
444
447 {
449 return -1;
450 }
452 TRACE(
":got handle %p\n",hfind);
454}
static void msvcrt_wfttofd64(const WIN32_FIND_DATAW *fd, struct _wfinddata64_t *ft)
◆ _wfindfirst64i32()
Definition at line 493 of file dir.c.
494{
497
500 {
502 return -1;
503 }
505 TRACE(
":got handle %p\n",hfind);
507}
static void msvcrt_wfttofd64i32(const WIN32_FIND_DATAW *fd, struct _wfinddata64i32_t *ft)
◆ _wfindnext32()
Definition at line 595 of file dir.c.
596{
598
600 {
602 return -1;
603 }
604
606 return 0;
607}
BOOL WINAPI FindNextFileW(IN HANDLE hFindFile, OUT LPWIN32_FIND_DATAW lpFindFileData)
Referenced by _findnext32().
◆ _wfindnext32i64()
Definition at line 360 of file findfile.cpp.
361{
363}
static int __cdecl common_find_next_wide(intptr_t const handle, WideFileData *const result)
◆ _wfindnext64()
Definition at line 665 of file dir.c.
666{
668
670 {
672 return -1;
673 }
674
676 return 0;
677}
◆ _wfindnext64i32()
Definition at line 718 of file dir.c.
719{
721
723 {
725 return -1;
726 }
727
729 return 0;
730}
◆ _wmktemp()
Definition at line 2260 of file file.c.
2261{
2262 int numX = 0;
2265 wchar_t letter = 'a';
2266
2269
2271 numX = (*
pattern++ ==
'X')? numX + 1 : 0;
2272 if (numX < 6)
2276 numX = 6;
2277 while(numX--)
2278 {
2279 int tempNum = id / 10;
2280 *
pattern-- =
id - (tempNum * 10) +
'0';
2281 id = tempNum;
2282 }
2284 do
2285 {
2287 return retVal;
2289 } while(letter != '|');
2291}
DWORD WINAPI GetCurrentProcessId(void)
◆ _wopen()
Definition at line 2674 of file file.c.
2675{
2677
2679 {
2680 int pmode;
2685 }
2686 else
2688}
int WINAPIV _wsopen(const wchar_t *path, int oflags, int shflags,...)
void int int ULONGLONG int va_list * ap
◆ _wrename()
Definition at line 4993 of file file.c.
4994{
4997 return 0;
5000 return -1;
5001}
BOOL WINAPI MoveFileExW(IN LPCWSTR lpExistingFileName, IN LPCWSTR lpNewFileName OPTIONAL, IN DWORD dwFlags)
#define MOVEFILE_COPY_ALLOWED
Referenced by rename().
◆ _wsopen()
Definition at line 2583 of file file.c.
2584{
2585 int pmode;
2587
2589 {
2591
2595 }
2596 else
2597 pmode = 0;
2598
2600}
int CDECL _wsopen_dispatch(const wchar_t *path, int oflags, int shflags, int pmode, int *fd, int secure)
◆ _wunlink()