ReactOS 0.4.16-dev-533-gc7d1aa3
precomp.h File Reference
#include <windows.h>
#include <atlbase.h>
#include <atlcom.h>
#include <strsafe.h>
#include <shlobj.h>
#include <shobjidl.h>
#include <shlwapi.h>
#include <shellapi.h>
#include <shlguid_undoc.h>
#include <reactos/debug.h>
#include <shellutils.h>
#include <ntquery.h>
#include <fdi.h>
Include dependency graph for precomp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NTOS_MODE_USER
 
#define NTSTATUS   LONG
 
#define SFGAO_SYSTEM   0x00001000
 
#define SIID_FOLDER   3
 
#define SIID_FOLDEROPEN   4
 

Functions

EXTERN_C INT WINAPI SHFormatDateTimeA (const FILETIME UNALIGNED *fileTime, DWORD *flags, LPSTR buf, UINT size)
 

Macro Definition Documentation

◆ NTOS_MODE_USER

#define NTOS_MODE_USER

Definition at line 9 of file precomp.h.

◆ NTSTATUS

Definition at line 19 of file precomp.h.

◆ SFGAO_SYSTEM

#define SFGAO_SYSTEM   0x00001000

Definition at line 198 of file shobjidl.idl.

◆ SIID_FOLDER

#define SIID_FOLDER   3

Definition at line 30 of file precomp.h.

◆ SIID_FOLDEROPEN

#define SIID_FOLDEROPEN   4

Definition at line 31 of file precomp.h.

Function Documentation

◆ SHFormatDateTimeA()

EXTERN_C INT WINAPI SHFormatDateTimeA ( const FILETIME UNALIGNED fileTime,
DWORD flags,
LPSTR  buf,
UINT  size 
)

Definition at line 5313 of file ordinal.c.

5315{
5316 WCHAR *bufW;
5317 INT retval;
5318
5319 if (!buf || !size)
5320 return 0;
5321
5322 bufW = HeapAlloc(GetProcessHeap(), 0, sizeof(WCHAR) * size);
5323 retval = SHFormatDateTimeW(fileTime, flags, bufW, size);
5324
5325 if (retval != 0)
5326 WideCharToMultiByte(CP_ACP, 0, bufW, -1, buf, size, NULL, NULL);
5327
5328 HeapFree(GetProcessHeap(), 0, bufW);
5329 return retval;
5330}
#define NULL
Definition: types.h:112
#define GetProcessHeap()
Definition: compat.h:736
#define CP_ACP
Definition: compat.h:109
#define HeapAlloc
Definition: compat.h:733
#define HeapFree(x, y, z)
Definition: compat.h:735
#define WideCharToMultiByte
Definition: compat.h:111
INT WINAPI SHFormatDateTimeW(const FILETIME UNALIGNED *fileTime, DWORD *flags, LPWSTR buf, UINT size)
Definition: ordinal.c:5248
GLsizeiptr size
Definition: glext.h:5919
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
GLbitfield flags
Definition: glext.h:7161
int32_t INT
Definition: typedefs.h:58
int retval
Definition: wcstombs.cpp:91
__wchar_t WCHAR
Definition: xmlstorage.h:180

Referenced by CCabFolder::GetItemDetails(), and init_pointers().