mirror of
https://github.com/reactos/reactos.git
synced 2025-08-01 19:53:22 +00:00
[NTOBJSHEX]
* Missed these sizeof(). * A tiny typo in the comments. CORE-9244 svn path=/trunk/; revision=66429
This commit is contained in:
parent
f0667d8ccd
commit
8a7bac06a7
2 changed files with 4 additions and 4 deletions
|
@ -149,7 +149,7 @@ HRESULT EnumerateNtDirectory(HDPA hdpa, PCWSTR path, UINT * hdpaCount)
|
|||
|
||||
if (otype < 0)
|
||||
{
|
||||
entryBufferLength += sizeof(NtPidlTypeData) + sizeof(WCHAR);
|
||||
entryBufferLength += FIELD_OFFSET(NtPidlTypeData,typeName) + sizeof(WCHAR);
|
||||
|
||||
if (info->TypeName.Buffer)
|
||||
{
|
||||
|
@ -159,7 +159,7 @@ HRESULT EnumerateNtDirectory(HDPA hdpa, PCWSTR path, UINT * hdpaCount)
|
|||
|
||||
if (otype == SYMBOLICLINK_OBJECT)
|
||||
{
|
||||
entryBufferLength += sizeof(NtPidlSymlinkData) + sizeof(WCHAR);
|
||||
entryBufferLength += FIELD_OFFSET(NtPidlSymlinkData,targetName) + sizeof(WCHAR);
|
||||
}
|
||||
|
||||
DWORD access = STANDARD_RIGHTS_READ;
|
||||
|
|
|
@ -41,7 +41,7 @@ extern const LPCWSTR ObjectTypeNames[];
|
|||
|
||||
#include <pshpack1.h>
|
||||
|
||||
// NT OBJECT browsere
|
||||
// NT OBJECT browser
|
||||
struct NtPidlEntry
|
||||
{
|
||||
USHORT cb;
|
||||
|
@ -69,7 +69,7 @@ struct NtPidlSymlinkData
|
|||
WCHAR targetName[ANYSIZE_ARRAY];
|
||||
};
|
||||
|
||||
// REGISTRY browsere
|
||||
// REGISTRY browser
|
||||
enum REG_ENTRY_TYPE
|
||||
{
|
||||
REG_ENTRY_KEY,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue