ReactOS 0.4.16-dev-136-g52192f1
access.c File Reference
#include <precomp.h>
#include <tchar.h>
Include dependency graph for access.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _TS   s
 
#define sT   "s"
 
#define access_dirT   access_dirA
 
#define MK_STR(s)   #s
 

Functions

int access_dirT (const _TCHAR *_path)
 

Macro Definition Documentation

◆ _TS

#define _TS   s

Definition at line 9 of file access.c.

◆ access_dirT

#define access_dirT   access_dirA

Definition at line 11 of file access.c.

◆ MK_STR

#define MK_STR (   s)    #s

Definition at line 14 of file access.c.

◆ sT

#define sT   "s"

Definition at line 10 of file access.c.

Function Documentation

◆ access_dirT()

int access_dirT ( const _TCHAR _path)

Definition at line 19 of file access.c.

20{
22 TRACE(MK_STR(is_dirT)"('%"sT"')\n", _path);
23
24 if (Attributes == (DWORD)-1) {
26 return -1;
27 }
28
30 {
32 return -1;
33 }
34
35 return 0;
36}
#define EACCES
Definition: acclib.h:85
unsigned long DWORD
Definition: ntddk_ex.h:95
#define FILE_ATTRIBUTE_DIRECTORY
Definition: nt_native.h:705
void _dosmaperr(unsigned long oserrcode)
Definition: errno.c:79
errno_t __cdecl _set_errno(_In_ int _Value)
#define sT
Definition: access.c:10
#define MK_STR(s)
Definition: access.c:14
#define TRACE(s)
Definition: solgame.cpp:4
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
#define GetFileAttributes
Definition: winbase.h:3815