ReactOS 0.4.16-dev-303-g11d5cb8
|
#include "windef.h"
#include "apphelp.h"
#include "strsafe.h"
#include "winver.h"
#include "rtlfuncs.h"
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | NUM_ATTRIBUTES 28 |
Enumerations | |
enum | APPHELP_MODULETYPE { MODTYPE_UNKNOWN = 0 , MODTYPE_DOS = 1 , MODTYPE_NE = 2 , MODTYPE_PE = 3 } |
Functions | |
static void WINAPI | SdbpSetDWORDAttr (PATTRINFO attr, TAG tag, DWORD value) |
static void WINAPI | SdbpSetQWORDAttr (PATTRINFO attr, TAG tag, QWORD value) |
static void WINAPI | SdbpSetStringAttr (PATTRINFO attr, TAG tag, WCHAR *string) |
static void WINAPI | SdbpSetAttrFail (PATTRINFO attr) |
static WCHAR *WINAPI | SdbpGetStringAttr (LPWSTR translation, LPCWSTR attr, PVOID file_info) |
static void WINAPI | SdbpSetStringAttrFromAnsiString (PATTRINFO attr, TAG tag, PBYTE string, size_t len) |
static void WINAPI | SdbpSetStringAttrFromPascalString (PATTRINFO attr, TAG tag, PBYTE string) |
static void | SdbpReadFileVersion (PATTRINFO attr_info, PVOID file_info) |
static DWORD WINAPI | SdbpCalculateFileChecksum (PMEMMAPPED mapping) |
static DWORD WINAPI | SdbpGetModuleType (PMEMMAPPED mapping, PIMAGE_NT_HEADERS *nt_headers) |
BOOL WINAPI | SdbFreeFileAttributes (PATTRINFO attr_info) |
BOOL WINAPI | SdbGetFileAttributes (LPCWSTR path, PATTRINFO *attr_info_ret, LPDWORD attr_count) |
#define NUM_ATTRIBUTES 28 |
Definition at line 18 of file sdbfileattr.c.
#define WIN32_NO_STATUS |
Definition at line 10 of file sdbfileattr.c.
Enumerator | |
---|---|
MODTYPE_UNKNOWN | |
MODTYPE_DOS | |
MODTYPE_NE | |
MODTYPE_PE |
Definition at line 19 of file sdbfileattr.c.
Frees attribute data allocated by SdbGetFileAttributes.
[in] | attr_info | Pointer to array of ATTRINFO which will be freed. |
Definition at line 214 of file sdbfileattr.c.
Referenced by InitApphelp(), SdbGetMatchingExe(), SdbpMatchExe(), and START_TEST().
Retrieves attribute data shim database requires to match a file with database entry
[in] | path | Path to the file. |
[out] | attr_info_ret | Pointer to array of ATTRINFO. Contains attribute data. |
[out] | attr_count | Number of attributes in attr_info. |
Definition at line 239 of file sdbfileattr.c.
Referenced by InitApphelp(), SdbGetMatchingExe(), SdbpMatchExe(), and START_TEST().
|
static |
Definition at line 142 of file sdbfileattr.c.
Referenced by SdbGetFileAttributes().
|
static |
Definition at line 176 of file sdbfileattr.c.
Referenced by SdbGetFileAttributes().
Definition at line 60 of file sdbfileattr.c.
Referenced by SdbGetFileAttributes().
Definition at line 104 of file sdbfileattr.c.
Referenced by SdbGetFileAttributes().
Definition at line 55 of file sdbfileattr.c.
Referenced by SdbGetFileAttributes(), and SdbpReadFileVersion().
Definition at line 28 of file sdbfileattr.c.
Referenced by SdbGetFileAttributes(), and SdbpReadFileVersion().
Definition at line 35 of file sdbfileattr.c.
Referenced by SdbpReadFileVersion().
Definition at line 42 of file sdbfileattr.c.
Referenced by SdbGetFileAttributes().
|
static |
Definition at line 76 of file sdbfileattr.c.
Referenced by SdbGetFileAttributes(), and SdbpSetStringAttrFromPascalString().
|
static |
Definition at line 93 of file sdbfileattr.c.
Referenced by SdbGetFileAttributes().