74 SHIM_ERR(
"Tag 0x%u at tagid %u is neither a string or reference to string\n",
tag, tagid);
174 DWORD prev_child_size, parent_size;
177 if (prev_child_size == 0)
181 next_child = prev_child + prev_child_size;
182 if (next_child >=
pdb->size)
189 if (parent_size == 0)
193 if (next_child >=
parent + parent_size)
345 if (
size >= data_size)
364 return &
pdb->data[tagid +
sizeof(
TAG) +
sizeof(
DWORD)];
406 SHIM_ERR(
"Failed to get the database id\n");
412 SHIM_ERR(
"Failed to get root tag\n");
BOOL WINAPI SdbIsNullGUID(CONST GUID *Guid)
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define memcpy(s1, s2, n)
static const struct @541 sizes[]
BOOL WINAPI SdbpCheckTagIDType(PDB pdb, TAGID tagid, WORD type)
#define SHIM_ERR(fmt,...)
DWORD WINAPI SdbGetTagDataSize(PDB pdb, TAGID tagid)
BOOL WINAPI SdbGetDatabaseID(PDB pdb, GUID *Guid)
TAG WINAPI SdbGetTagFromTagID(PDB pdb, TAGID tagid)
TAGID WINAPI SdbFindFirstTag(PDB pdb, TAGID parent, TAG tag)
TAGID WINAPI SdbGetFirstChild(PDB pdb, TAGID parent)
LPWSTR WINAPI SdbpGetString(PDB pdb, TAGID tagid, PDWORD size)
BOOL WINAPI SdbpReadData(PDB pdb, PVOID dest, DWORD offset, DWORD num)
TAGID WINAPI SdbGetNextChild(PDB pdb, TAGID parent, TAGID prev_child)
WORD WINAPI SdbReadWORDTag(PDB pdb, TAGID tagid, WORD ret)
BOOL WINAPI SdbReadBinaryTag(PDB pdb, TAGID tagid, PBYTE buffer, DWORD size)
static DWORD WINAPI SdbpGetTagSize(PDB pdb, TAGID tagid)
QWORD WINAPI SdbReadQWORDTag(PDB pdb, TAGID tagid, QWORD ret)
BOOL WINAPI SdbReadStringTag(PDB pdb, TAGID tagid, LPWSTR buffer, DWORD size)
TAGID WINAPI SdbFindNextTag(PDB pdb, TAGID parent, TAGID prev_child)
PVOID WINAPI SdbGetBinaryTagData(PDB pdb, TAGID tagid)
DWORD WINAPI SdbReadDWORDTag(PDB pdb, TAGID tagid, DWORD ret)
LPWSTR WINAPI SdbGetStringTagPtr(PDB pdb, TAGID tagid)
#define TAG_TYPE_STRINGREF
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID * Guid