Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phnt trivial improvements #2354

Merged
merged 2 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions phnt/include/ntmmapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ typedef struct _MEMORY_WORKING_SET_BLOCK
typedef struct _MEMORY_WORKING_SET_INFORMATION
{
ULONG_PTR NumberOfEntries;
_Field_size_(NumberOfEntries) MEMORY_WORKING_SET_BLOCK WorkingSetInfo[1];
_Field_size_(NumberOfEntries) MEMORY_WORKING_SET_BLOCK WorkingSetInfo[ANYSIZE_ARRAY];
} MEMORY_WORKING_SET_INFORMATION, *PMEMORY_WORKING_SET_INFORMATION;

// private
Expand Down Expand Up @@ -271,7 +271,7 @@ typedef union _MEMORY_WORKING_SET_EX_BLOCK
#endif
} Invalid;
};
} MEMORY_WORKING_SET_EX_BLOCK, * PMEMORY_WORKING_SET_EX_BLOCK;
} MEMORY_WORKING_SET_EX_BLOCK, *PMEMORY_WORKING_SET_EX_BLOCK;

/**
* The MEMORY_WORKING_SET_EX_INFORMATION structure contains extended working set information for a process.
Expand Down
2 changes: 1 addition & 1 deletion phnt/include/ntpebteb.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ typedef struct _WER_MEMORY
typedef struct _WER_GATHER
{
PVOID Next;
USHORT Flags;
USHORT Flags;
union
{
WER_FILE File;
Expand Down
2 changes: 1 addition & 1 deletion phnt/include/ntrtl.h
Original file line number Diff line number Diff line change
Expand Up @@ -10208,7 +10208,7 @@ NTSTATUS
NTAPI
RtlProcessFlsData(
_In_ HANDLE ProcessHandle,
_Out_ PPVOID FlsData
_Out_ PVOID* FlsData
);
#endif

Expand Down
4 changes: 2 additions & 2 deletions phnt/include/winsta.h
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ WinStationQuerySessionVirtualIP(
_In_ ADDRESS_FAMILY Family,
_Out_ TS_SESSION_VIRTUAL_ADDRESS* SessionVirtualIP
);

// rev
NTSYSAPI
BOOLEAN
Expand All @@ -1262,7 +1262,7 @@ WinStationGetDeviceId(
_Out_ PCHAR* Buffer, // CHAR DeviceId[MAX_PATH + 1];
_In_ SIZE_T BufferLength
);

// rev
NTSYSAPI
BOOLEAN
Expand Down
Loading