Edit

usermode_accessors.h header

User-mode accessors (UMA) are a set of DDIs designed to safely access and manipulate user-mode memory from kernel-mode code.

usermode_accessors.h contains the following programming interfaces:

Functions

 
CopyFromMode

The CopyFromMode function safely copies data from either kernel or user-mode memory to kernel memory based on the specified processor mode.
CopyFromModeAligned

The CopyFromModeAligned macro safely copies data from specified-mode memory to kernel memory, with alignment checking.
CopyFromModeNonTemporal

The CopyFromModeNonTemporal function safely copies data from either kernel or user-mode memory to kernel memory using non-temporal instructions based on the specified processor mode.
CopyFromUser

The CopyFromUser function safely copies data from user-mode memory to kernel memory.
CopyFromUserAligned

The CopyFromUserAligned macro safely copies data from user-mode memory to kernel memory, with alignment checking.
CopyFromUserNonTemporal

The CopyFromUserNonTemporal function safely copies data from user-mode memory to kernel memory using non-temporal instructions.
CopyFromUserToMode

The CopyFromUserToMode function safely copies data from user-mode memory to either kernel or user-mode memory based on the specified processor mode.
CopyToMode

The CopyToMode function safely copies data from kernel memory to either kernel or user-mode memory based on the specified processor mode.
CopyToModeNonTemporal

The CopyToModeNonTemporal function safely copies data from kernel memory to either kernel or user-mode memory using non-temporal instructions based on the specified processor mode.
CopyToUser

The CopyToUser function safely copies data from kernel memory to user-mode memory.
CopyToUserFromUser

The CopyToUserFromUser function safely copies data from user-mode memory to user-mode memory.
CopyToUserNonTemporal

The CopyToUserNonTemporal function safely copies data from kernel memory to user-mode memory using non-temporal instructions.
FillModeMemory

The FillModeMemory function fills a memory region with a specified byte value, based on the specified processor mode.
FillUserMemory

The FillUserMemory function fills a user-mode memory region with a specified byte value.
InterlockedAnd64ToMode

The InterlockedAnd64ToMode function performs an atomic AND operation on a 64-bit value, based on the specified processor mode.
InterlockedAnd64ToUser

The InterlockedAnd64ToUser function performs an atomic AND operation on a 64-bit value in user-mode memory.
InterlockedAndToMode

The InterlockedAndToMode function performs an atomic AND operation on a 32-bit value in memory, with access dependent on the processor mode.
InterlockedAndToUser

The InterlockedAndToUser function performs an atomic AND operation on a 32-bit value in user-mode memory.
InterlockedCompareExchange64ToMode

The InterlockedCompareExchange64ToMode function performs an atomic compare-and-exchange operation on a 64-bit value in memory, with access dependent on the processor mode.
InterlockedCompareExchange64ToUser

The InterlockedCompareExchange64ToUser function performs an atomic compare-and-exchange operation on a 64-bit value in user-mode memory.
InterlockedCompareExchangeToMode

The InterlockedCompareExchangeToMode function performs an atomic compare-and-exchange operation on a 32-bit value in memory, with access dependent on the processor mode.
InterlockedCompareExchangeToUser

The InterlockedCompareExchangeToUser function performs an atomic compare-and-exchange operation on a 32-bit value in user-mode memory.
InterlockedOr64ToMode

The InterlockedOr64ToMode function performs an atomic OR operation on a 64-bit value in memory, with access dependent on the processor mode.
InterlockedOr64ToUser

The InterlockedOr64ToUser function performs an atomic OR operation on a 64-bit value in user-mode memory.
InterlockedOrToMode

The InterlockedOrToMode function performs an atomic OR operation on a 32-bit value in memory, with access dependent on the processor mode.
InterlockedOrToUser

The InterlockedOrToUser function performs an atomic OR operation on a 32-bit value in user-mode memory.
MoveToUserFromUser

The MoveToUserFromUser function safely moves data from user-mode memory to user-mode memory, supporting overlapping memory regions.
ReadBooleanFromMode

The ReadBooleanFromMode function safely reads a BOOLEAN value from memory based on the specified processor mode.
ReadBooleanFromUser

The ReadBooleanFromUser function safely reads a BOOLEAN value from user-mode memory.
ReadBooleanFromUserAcquire

The ReadBooleanFromUserAcquire function safely reads a BOOLEAN value from user-mode memory with acquire semantics.
ReadCharFromMode

The ReadCharFromMode function safely reads a CHAR value from memory based on the specified processor mode.
ReadCharFromUser

The ReadCharFromUser function safely reads a CHAR value from user-mode memory.
ReadCharFromUserAcquire

The ReadCharFromUserAcquire function safely reads a CHAR value from user-mode memory with acquire semantics.
ReadHandleFromMode

The ReadHandleFromMode function safely reads a HANDLE value from memory based on the specified processor mode.
ReadHandleFromUser

The ReadHandleFromUser function safely reads a HANDLE value from user-mode memory.
ReadHandleFromUserAcquire

The ReadHandleFromUserAcquire function safely reads a HANDLE value from user-mode memory with acquire semantics.
ReadInt16FromMode

The ReadInt16FromMode function safely reads an INT16 value from memory based on the specified processor mode.
ReadInt16FromUser

The ReadInt16FromUser function safely reads an INT16 value from user-mode memory.
ReadInt16FromUserAcquire

The ReadInt16FromUserAcquire function safely reads an INT16 value from user-mode memory with acquire semantics.
ReadInt32FromMode

The ReadInt32FromMode function safely reads an INT32 value from memory based on the specified processor mode.
ReadInt32FromUser

The ReadInt32FromUser function safely reads an INT32 value from user-mode memory.
ReadInt32FromUserAcquire

The ReadInt32FromUserAcquire function safely reads an INT32 value from user-mode memory with acquire semantics.
ReadInt64FromMode

The ReadInt64FromMode function safely reads an INT64 value from memory based on the specified processor mode.
ReadInt64FromUser

The ReadInt64FromUser function safely reads an INT64 value from user-mode memory.
ReadInt64FromUserAcquire

The ReadInt64FromUserAcquire function safely reads an INT64 value from user-mode memory with acquire semantics.
ReadInt8FromMode

The ReadInt8FromMode function safely reads an INT8 value from memory based on the specified processor mode.
ReadInt8FromUser

The ReadInt8FromUser function safely reads an INT8 value from user-mode memory.
ReadInt8FromUserAcquire

The ReadInt8FromUserAcquire function safely reads an INT8 value from user-mode memory with acquire semantics.
ReadIntPtrFromMode

The ReadIntPtrFromMode function safely reads an INT_PTR value from memory based on the specified processor mode.
ReadIntPtrFromUser

The ReadIntPtrFromUser function safely reads an INT_PTR value from user-mode memory.
ReadIntPtrFromUserAcquire

The ReadIntPtrFromUserAcquire function safely reads an INT_PTR value from user-mode memory with acquire semantics.
ReadLargeIntegerFromMode

The ReadLargeIntegerFromMode function safely reads a LARGE_INTEGER value from memory based on the specified processor mode.
ReadLargeIntegerFromUser

The ReadLargeIntegerFromUser function safely reads a LARGE_INTEGER value from user-mode memory.
ReadLong64FromMode

The ReadLong64FromMode function safely reads a LONG64 value from memory based on the specified processor mode.
ReadLong64FromUser

The ReadLong64FromUser function safely reads a LONG64 value from user-mode memory.
ReadLong64FromUserAcquire

The ReadLong64FromUserAcquire function safely reads a LONG64 value from user-mode memory with acquire semantics.
ReadLongFromMode

The ReadLongFromMode function safely reads a LONG value from memory based on the specified processor mode.
ReadLongFromUser

The ReadLongFromUser function safely reads a LONG value from user-mode memory.
ReadLongFromUserAcquire

The ReadLongFromUserAcquire function safely reads a LONG value from user-mode memory with acquire semantics.
ReadLonglongFromMode

The ReadLonglongFromMode function safely reads a LONGLONG value from memory based on the specified processor mode.
ReadLonglongFromUser

The ReadLonglongFromUser function safely reads a LONGLONG value from user-mode memory.
ReadLonglongFromUserAcquire

The ReadLonglongFromUserAcquire function safely reads a LONGLONG value from user-mode memory with acquire semantics.
ReadLongPtrFromMode

The ReadLongPtrFromMode function safely reads a LONG_PTR value from memory based on the specified processor mode.
ReadLongPtrFromUser

The ReadLongPtrFromUser function safely reads a LONG_PTR value from user-mode memory.
ReadLongPtrFromUserAcquire

The ReadLongPtrFromUserAcquire function safely reads a LONG_PTR value from user-mode memory with acquire semantics.
ReadNtStatusFromMode

The ReadNtStatusFromMode function safely reads an NTSTATUS value from memory based on the specified processor mode.
ReadNtStatusFromUser

The ReadNtStatusFromUser function safely reads an NTSTATUS value from user-mode memory.
ReadNtStatusFromUserAcquire

The ReadNtStatusFromUserAcquire function safely reads an NTSTATUS value from user-mode memory with acquire semantics.
ReadPointerFromMode

The ReadPointerFromMode function safely reads a PVOID value from memory based on the specified processor mode.
ReadPointerFromUser

The ReadPointerFromUser function safely reads a PVOID value from user-mode memory.
ReadPointerFromUserAcquire

The ReadPointerFromUserAcquire function safely reads a PVOID value from user-mode memory with acquire semantics.
ReadShortFromMode

The ReadShortFromMode function safely reads a SHORT value from memory based on the specified processor mode.
ReadShortFromUser

The ReadShortFromUser function safely reads a SHORT value from user-mode memory.
ReadShortFromUserAcquire

The ReadShortFromUserAcquire function safely reads a SHORT value from user-mode memory with acquire semantics.
ReadSizeTFromMode

The ReadSizeTFromMode function safely reads a SIZE_T value from memory based on the specified processor mode.
ReadSizeTFromUser

The ReadSizeTFromUser function safely reads a SIZE_T value from user-mode memory.
ReadSizeTFromUserAcquire

The ReadSizeTFromUserAcquire function safely reads a SIZE_T value from user-mode memory with acquire semantics.
ReadSSizeTFromMode

The ReadSSizeTFromMode function safely reads a SSIZE_T value from memory based on the specified processor mode.
ReadSSizeTFromUser

The ReadSSizeTFromUser function safely reads a SSIZE_T value from user-mode memory.
ReadSSizeTFromUserAcquire

The ReadSSizeTFromUserAcquire function safely reads a SSIZE_T value from user-mode memory with acquire semantics.
ReadStructFromMode

The ReadStructFromMode macro safely reads a structure from memory based on the specified processor mode.
ReadStructFromModeAligned

The ReadStructFromModeAligned macro safely reads a structure from memory based on the specified processor mode with alignment validation.
ReadStructFromModeHelper

The ReadStructFromModeHelper function is a helper function that safely reads a structure of a specified size from memory based on the specified processor mode.
ReadStructFromUser

The ReadStructFromUser macro safely reads a structure from user-mode memory.
ReadStructFromUserAligned

The ReadStructFromUserAligned macro safely reads a structure from user-mode memory with alignment validation.
ReadStructFromUserHelper

The ReadStructFromUserHelper function is a helper function that safely reads a structure of a specified size from user-mode memory.
ReadUCharFromMode

The ReadUCharFromMode function safely reads a UCHAR value from memory based on the specified processor mode.
ReadUCharFromUser

The ReadUCharFromUser function safely reads a UCHAR value from user-mode memory.
ReadUCharFromUserAcquire

The ReadUCharFromUserAcquire function safely reads a UCHAR value from user-mode memory with acquire semantics.
ReadUInt16FromMode

The ReadUInt16FromMode function safely reads a UINT16 value from memory based on the specified processor mode.
ReadUInt16FromUser

The ReadUInt16FromUser function safely reads a UINT16 value from user-mode memory.
ReadUInt16FromUserAcquire

The ReadUInt16FromUserAcquire function safely reads a UINT16 value from user-mode memory with acquire semantics.
ReadUInt32FromMode

The ReadUInt32FromMode function safely reads a UINT32 value from memory based on the specified processor mode.
ReadUInt32FromUser

The ReadUInt32FromUser function safely reads a UINT32 value from user-mode memory.
ReadUInt32FromUserAcquire

The ReadUInt32FromUserAcquire function safely reads a UINT32 value from user-mode memory with acquire semantics.
ReadUInt64FromMode

The ReadUInt64FromMode function safely reads a UINT64 value from memory, checking that the address is appropriate for the current processor mode.
ReadUInt64FromUser

The ReadUInt64FromUser function safely reads a UINT64 value from user-mode memory.
ReadUInt64FromUserAcquire

The ReadUInt64FromUserAcquire function safely reads a UINT64 value from user-mode memory with acquire semantics.
ReadUInt8FromMode

The ReadUInt8FromMode function safely reads a UINT8 value from memory based on the specified processor mode.
ReadUInt8FromUser

The ReadUInt8FromUser function safely reads a UINT8 value from user-mode memory.
ReadUInt8FromUserAcquire

The ReadUInt8FromUserAcquire function safely reads a UINT8 value from user-mode memory with acquire semantics.
ReadUIntPtrFromMode

The ReadUIntPtrFromMode function safely reads a UINT_PTR value from memory based on the specified processor mode.
ReadUIntPtrFromUser

The ReadUIntPtrFromUser function safely reads a UINT_PTR value from user-mode memory.
ReadUIntPtrFromUserAcquire

The ReadUIntPtrFromUserAcquire function safely reads a UINT_PTR value from user-mode memory with acquire semantics.
ReadULargeIntegerFromMode

The ReadULargeIntegerFromMode function safely reads a ULARGE_INTEGER value from memory based on the specified processor mode.
ReadULargeIntegerFromUser

The ReadULargeIntegerFromUser function safely reads a ULARGE_INTEGER value from user-mode memory.
ReadULong64FromMode

The ReadULong64FromMode function safely reads a ULONG64 value from memory based on the specified processor mode.
ReadULong64FromUser

The ReadULong64FromUser function safely reads a ULONG64 value from user-mode memory.
ReadULong64FromUserAcquire

The ReadULong64FromUserAcquire function safely reads a ULONG64 value from user-mode memory with acquire semantics.
ReadULongFromMode

The ReadULongFromMode function safely reads a ULONG value from memory based on the specified processor mode.
ReadULongFromUser

The ReadULongFromUser function safely reads a ULONG value from user-mode memory.
ReadULongFromUserAcquire

The ReadULongFromUserAcquire function safely reads a ULONG value from user-mode memory with acquire semantics.
ReadULonglongFromMode

The ReadULonglongFromMode function safely reads a ULONGLONG value from memory based on the specified processor mode.
ReadULonglongFromUser

The ReadULonglongFromUser function safely reads a ULONGLONG value from user-mode memory.
ReadULonglongFromUserAcquire

The ReadULonglongFromUserAcquire function safely reads a ULONGLONG value from user-mode memory with acquire semantics.
ReadULongPtrFromMode

The ReadULongPtrFromMode function safely reads a ULONG_PTR value from memory based on the specified processor mode.
ReadULongPtrFromUser

The ReadULongPtrFromUser function safely reads a ULONG_PTR value from user-mode memory.
ReadULongPtrFromUserAcquire

The ReadULongPtrFromUserAcquire function safely reads a ULONG_PTR value from user-mode memory with acquire semantics.
ReadUnicodeStringFromMode

The ReadUnicodeStringFromMode function safely reads a UNICODE_STRING structure from memory based on the specified processor mode.
ReadUnicodeStringFromUser

The ReadUnicodeStringFromUser function safely reads a UNICODE_STRING structure from user-mode memory.
ReadUShortFromMode

The ReadUShortFromMode function safely reads a USHORT value from memory based on the specified processor mode.
ReadUShortFromUser

The ReadUShortFromUser function safely reads a USHORT value from user-mode memory.
ReadUShortFromUserAcquire

The ReadUShortFromUserAcquire function safely reads a USHORT value from user-mode memory with acquire semantics.
ReadWCharFromMode

The ReadWCharFromMode function safely reads a WCHAR value from memory based on the specified processor mode.
ReadWCharFromUser

The ReadWCharFromUser function safely reads a WCHAR value from user-mode memory.
ReadWCharFromUserAcquire

The ReadWCharFromUserAcquire function safely reads a WCHAR value from user-mode memory with acquire semantics.
RtlCopyFromUser

The RtlCopyFromUser function is reserved for system use.
RtlCopyFromUserNonTemporal

The RtlCopyFromUserNonTemporal function is reserved for system use.
RtlCopyToUser

The RtlCopyToUser function is reserved for system use.
RtlCopyToUserFromUser

The RtlCopyToUserFromUser function is reserved for system use.
RtlCopyToUserNonTemporal

The RtlCopyToUserNonTemporal function is reserved for system use.
RtlFastFailIfUserPointer

The RtlFastFailIfUserPointer function is reserved for system use.
RtlInterlockedAnd32ToUser

The RtlInterlockedAnd32ToUser function is reserved for system use.
RtlInterlockedAnd64ToUser

The RtlInterlockedAnd64ToUser function is reserved for system use.
RtlInterlockedCompareExchange32ToUser

The RtlInterlockedCompareExchange32ToUser function is reserved for system use.
RtlInterlockedCompareExchange64ToUser

The RtlInterlockedCompareExchange64ToUser function is reserved for system use.
RtlInterlockedOr32ToUser

The RtlInterlockedOr32ToUser function is reserved for system use.
RtlInterlockedOr64ToUser

The RtlInterlockedOr64ToUser function is reserved for system use.
RtlMoveToUserFromUser

The RtlMoveToUserFromUser function is reserved for system use.
RtlReadUCharFromUser

The RtlReadUCharFromUser function is reserved for system use.
RtlReadUCharFromUserAcquire

The RtlReadUCharFromUserAcquire function is reserved for system use.
RtlReadULong64FromUser

The RtlReadULong64FromUser function is reserved for system use.
RtlReadULong64FromUserAcquire

The RtlReadULong64FromUserAcquire function is reserved for system use.
RtlReadULongFromUser

The RtlReadULongFromUser function is reserved for system use.
RtlReadULongFromUserAcquire

The RtlReadULongFromUserAcquire function is reserved for system use.
RtlReadUShortFromUser

The RtlReadUShortFromUser function is reserved for system use.
RtlReadUShortFromUserAcquire

The RtlReadUShortFromUserAcquire function is reserved for system use.
RtlSetUserMemory

The RtlSetUserMemory function is reserved for system use.
RtlStringLengthFromUser

The RtlStringLengthFromUser function is reserved for system use.
RtlTypesCompatible

The RtlTypesCompatible function is reserved for system use.
RtlWideStringLengthFromUser

The RtlWideStringLengthFromUser function is reserved for system use.
RtlWriteUCharToUser

The RtlWriteUCharToUser function is reserved for system use.
RtlWriteUCharToUserRelease

The RtlWriteUCharToUserRelease function is reserved for system use.
RtlWriteULong64ToUser

The RtlWriteULong64ToUser function is reserved for system use.
RtlWriteULong64ToUserRelease

The RtlWriteULong64ToUserRelease function is reserved for system use.
RtlWriteULongToUser

The RtlWriteULongToUser function is reserved for system use.
RtlWriteULongToUserRelease

The RtlWriteULongToUserRelease function is reserved for system use.
RtlWriteUShortToUser

The RtlWriteUShortToUser function is reserved for system use.
RtlWriteUShortToUserRelease

The RtlWriteUShortToUserRelease function is reserved for system use.
SetModeMemory

The SetModeMemory function fills a memory region with a specified byte value, based on the specified processor mode.
SetUserMemory

The SetUserMemory function fills a user-mode memory region with a specified byte value.
StringLengthFromMode

The StringLengthFromMode function calculates the length of a null-terminated string, based on the specified processor mode.
StringLengthFromUser

The StringLengthFromUser function safely calculates the length of a null-terminated string in user-mode memory.
UmaExceptionFilter

The UmaExceptionFilter function provides mode-dependent exception filtering for structured exception handling.
WideStringLengthFromMode

The WideStringLengthFromMode function calculates the length of a null-terminated wide character string, based on the specified processor mode.
WideStringLengthFromUser

The WideStringLengthFromUser function safely calculates the length of a null-terminated wide character string in user-mode memory.
WriteBooleanToMode

The WriteBooleanToMode function safely writes a BOOLEAN value to memory based on the specified processor mode.
WriteBooleanToUser

The WriteBooleanToUser function safely writes a BOOLEAN value to user-mode memory.
WriteBooleanToUserRelease

The WriteBooleanToUserRelease function safely writes a BOOLEAN value to user-mode memory with release semantics.
WriteCharToMode

The WriteCharToMode function safely writes a CHAR value to memory based on the specified processor mode.
WriteCharToUser

The WriteCharToUser function safely writes a CHAR value to user-mode memory.
WriteCharToUserRelease

The WriteCharToUserRelease function safely writes a CHAR value to user-mode memory with release semantics.
WriteHandleToMode

The WriteHandleToMode function safely writes a HANDLE value to memory based on the specified processor mode.
WriteHandleToUser

The WriteHandleToUser function safely writes a HANDLE value to user-mode memory.
WriteHandleToUserRelease

The WriteHandleToUserRelease function safely writes a HANDLE value to user-mode memory with release semantics.
WriteInt16ToMode

The WriteInt16ToMode function safely writes an INT16 value to memory based on the specified processor mode.
WriteInt16ToUser

The WriteInt16ToUser function safely writes an INT16 value to user-mode memory.
WriteInt16ToUserRelease

The WriteInt16ToUserRelease function safely writes an INT16 value to user-mode memory with release semantics.
WriteInt32ToMode

The WriteInt32ToMode function safely writes an INT32 value to memory based on the specified processor mode.
WriteInt32ToUser

The WriteInt32ToUser function safely writes a INT32 value to user-mode memory.
WriteInt32ToUserRelease

The WriteInt32ToUserRelease function safely writes a INT32 value to user-mode memory with release semantics.
WriteInt64ToMode

The WriteInt64ToMode function safely writes a INT64 value to memory based on the specified processor mode.
WriteInt64ToUser

The WriteInt64ToUser function safely writes an INT64 value to user-mode memory.
WriteInt64ToUserRelease

The WriteInt64ToUserRelease function safely writes a INT64 value to user-mode memory with release semantics.
WriteInt8ToMode

The WriteInt8ToMode function safely writes an INT8 value to memory based on the specified processor mode.
WriteInt8ToUser

The WriteInt8ToUser function safely writes an INT8 value to user-mode memory.
WriteInt8ToUserRelease

The WriteInt8ToUserRelease function safely writes an INT8 value to user-mode memory with release semantics.
WriteIntPtrToMode

The WriteIntPtrToMode function safely writes an INT_PTR value to memory based on the specified processor mode.
WriteIntPtrToUser

The WriteIntPtrToUser function safely writes an INT_PTR value to user-mode memory.
WriteIntPtrToUserRelease

The WriteIntPtrToUserRelease function safely writes an INT_PTR value to user-mode memory with release semantics.
WriteLargeIntegerToMode

The WriteLargeIntegerToMode function safely writes a LARGE_INTEGER value to memory based on the specified processor mode.
WriteLargeIntegerToUser

The WriteLargeIntegerToUser function safely writes a LARGE_INTEGER value to user-mode memory.
WriteLong64ToMode

The WriteLong64ToMode function safely writes a LONG64 value to memory based on the specified processor mode.
WriteLong64ToUser

The WriteLong64ToUser function safely writes a LONG64 value to user-mode memory.
WriteLong64ToUserRelease

The WriteLong64ToUserRelease function safely writes a LONG64 value to user-mode memory with release semantics.
WriteLonglongToMode

The WriteLonglongToMode function safely writes a LONGLONG value to memory based on the specified processor mode.
WriteLonglongToUser

The WriteLonglongToUser function safely writes a LONGLONG value to user-mode memory.
WriteLonglongToUserRelease

The WriteLonglongToUserRelease function safely writes a LONGLONG value to user-mode memory with release semantics.
WriteLongPtrToMode

The WriteLongPtrToMode function safely writes a LONG_PTR value to memory based on the specified processor mode.
WriteLongPtrToUser

The WriteLongPtrToUser function safely writes a LONG_PTR value to user-mode memory.
WriteLongPtrToUserRelease

The WriteLongPtrToUserRelease function safely writes a LONG_PTR value to user-mode memory with release semantics.
WriteLongToMode

The WriteLongToMode function safely writes a LONG value to memory based on the specified processor mode.
WriteLongToUser

The WriteLongToUser function safely writes a LONG value to user-mode memory.
WriteLongToUserRelease

The WriteLongToUserRelease function safely writes a LONG value to user-mode memory with release semantics.
WriteNtStatusToMode

The WriteNtStatusToMode function safely writes an NTSTATUS value to memory based on the specified processor mode.
WriteNtStatusToUser

The WriteNtStatusToUser function safely writes an NTSTATUS value to user-mode memory.
WriteNtStatusToUserRelease

The WriteNtStatusToUserRelease function safely writes an NTSTATUS value to user-mode memory with release semantics.
WritePointerToMode

The WritePointerToMode function safely writes a PVOID value to memory based on the specified processor mode.
WritePointerToUser

The WritePointerToUser function safely writes a PVOID value to user-mode memory.
WritePointerToUserRelease

The WritePointerToUserRelease function safely writes a PVOID value to user-mode memory with release semantics.
WriteShortToMode

The WriteShortToMode function safely writes a SHORT value to memory based on the specified processor mode.
WriteShortToUser

The WriteShortToUser function safely writes a SHORT value to user-mode memory.
WriteShortToUserRelease

The WriteShortToUserRelease function safely writes a SHORT value to user-mode memory with release semantics.
WriteSizeTToMode

The WriteSizeTToMode function safely writes a SIZE_T value to memory based on the specified processor mode.
WriteSizeTToUser

The WriteSizeTToUser function safely writes a SIZE_T value to user-mode memory.
WriteSizeTToUserRelease

The WriteSizeTToUserRelease function safely writes a SIZE_T value to user-mode memory with release semantics.
WriteSSizeTToMode

The WriteSSizeTToMode function safely writes a SSIZE_T value to memory based on the specified processor mode.
WriteSSizeTToUser

The WriteSSizeTToUser function safely writes a SSIZE_T value to user-mode memory.
WriteSSizeTToUserRelease

The WriteSSizeTToUserRelease function safely writes a SSIZE_T value to user-mode memory with release semantics.
WriteStructToMode

The WriteStructToMode macro safely writes a structure to memory based on the specified processor mode.
WriteStructToModeAligned

The WriteStructToModeAligned macro safely writes a structure to memory based on the specified processor mode with alignment validation.
WriteStructToModeHelper

The WriteStructToModeHelper function is a helper function that safely writes a structure of a specified size to memory based on the specified processor mode.
WriteStructToUser

The WriteStructToUser macro safely writes a structure to user-mode memory.
WriteStructToUserAligned

The WriteStructToUserAligned macro safely writes a structure to user-mode memory with alignment validation.
WriteStructToUserHelper

The WriteStructToUserHelper function is a helper function that safely writes a structure of a specified size to user-mode memory.
WriteUCharToMode

The WriteUCharToMode function safely writes a UCHAR value to memory based on the specified processor mode.
WriteUCharToUser

The WriteUCharToUser function safely writes a UCHAR value to user-mode memory.
WriteUCharToUserRelease

The WriteUCharToUserRelease function safely writes a UCHAR value to user-mode memory with release semantics.
WriteUInt16ToMode

The WriteUInt16ToMode function safely writes a UINT16 value to memory based on the specified processor mode.
WriteUInt16ToUser

The WriteUInt16ToUser function safely writes a UINT16 value to user-mode memory.
WriteUInt16ToUserRelease

The WriteUInt16ToUserRelease function safely writes a UINT16 value to user-mode memory with release semantics.
WriteUInt32ToMode

The WriteUInt32ToMode function safely writes a UINT32 value to memory, checking that the address is appropriate for the current processor mode.
WriteUInt32ToUser

The WriteUInt32ToUser function safely writes a UINT32 value to user-mode memory.
WriteUInt32ToUserRelease

The WriteUInt32ToUserRelease function safely writes a UINT32 value to user-mode memory with release semantics.
WriteUInt64ToMode

The WriteUInt64ToMode function safely writes a UINT64 value to memory, checking that the address is appropriate for the current processor mode.
WriteUInt64ToUser

The WriteUInt64ToUser function safely writes a UINT64 value to user-mode memory.
WriteUInt64ToUserRelease

The WriteUInt64ToUserRelease function safely writes a UINT64 value to user-mode memory with release semantics.
WriteUInt8ToMode

The WriteUInt8ToMode function safely writes a UINT8 value to memory based on the specified processor mode.
WriteUInt8ToUser

The WriteUInt8ToUser function safely writes a UINT8 value to user-mode memory.
WriteUInt8ToUserRelease

The WriteUInt8ToUserRelease function safely writes a UINT8 value to user-mode memory with release semantics.
WriteUIntPtrToMode

The WriteUIntPtrToMode function safely writes a UINT_PTR value to memory based on the specified processor mode.
WriteUIntPtrToUser

The WriteUIntPtrToUser function safely writes a UINT_PTR value to user-mode memory.
WriteUIntPtrToUserRelease

The WriteUIntPtrToUserRelease function safely writes a UINT_PTR value to user-mode memory with release semantics.
WriteULargeIntegerToMode

The WriteULargeIntegerToMode function safely writes a ULARGE_INTEGER value to memory based on the specified processor mode.
WriteULargeIntegerToUser

The WriteULargeIntegerToUser function safely writes a ULARGE_INTEGER value to user-mode memory.
WriteULong64ToMode

The WriteULong64ToMode function safely writes a ULONG64 value to memory based on the specified processor mode.
WriteULong64ToUser

The WriteULong64ToUser function safely writes a ULONG64 value to user-mode memory.
WriteULong64ToUserRelease

The WriteULong64ToUserRelease function safely writes a ULONG64 value to user-mode memory with release semantics.
WriteULonglongToMode

The WriteULonglongToMode function safely writes a ULONGLONG value to memory.
WriteULonglongToUser

The WriteULonglongToUser function safely writes a ULONGLONG value to user-mode memory.
WriteULonglongToUserRelease

The WriteULonglongToUserRelease function safely writes a ULONGLONG value to user-mode memory with release semantics.
WriteULongPtrToMode

The WriteULongPtrToMode function safely writes a ULONG_PTR value to memory based on the specified processor mode.
WriteULongPtrToUser

The WriteULongPtrToUser function safely writes a ULONG_PTR value to user-mode memory.
WriteULongPtrToUserRelease

The WriteULongPtrToUserRelease function safely writes a ULONG_PTR value to user-mode memory with release semantics.
WriteULongToMode

The WriteULongToMode function safely writes a ULONG value to memory based on the specified processor mode.
WriteULongToUser

The WriteULongToUser function safely writes a ULONG value to user-mode memory.
WriteULongToUserRelease

The WriteULongToUserRelease function safely writes a ULONG value to user-mode memory with release semantics.
WriteUnicodeStringToMode

The WriteUnicodeStringToMode function safely writes a UNICODE_STRING structure to memory based on the specified processor mode.
WriteUnicodeStringToUser

The WriteUnicodeStringToUser function safely writes a UNICODE_STRING structure to user-mode memory.
WriteUShortToMode

The WriteUShortToMode function safely writes a USHORT value to memory based on the specified processor mode.
WriteUShortToUser

The WriteUShortToUser function safely writes a USHORT value to user-mode memory.
WriteUShortToUserRelease

The WriteUShortToUserRelease function safely writes a USHORT value to user-mode memory with release semantics.
WriteWCharToMode

The WriteWCharToMode function safely writes a WCHAR value to memory based on the specified processor mode.
WriteWCharToUser

The WriteWCharToUser function safely writes a WCHAR value to user-mode memory.
WriteWCharToUserRelease

The WriteWCharToUserRelease function safely writes a WCHAR value to user-mode memory with release semantics.
ZeroModeMemory

The ZeroModeMemory function fills a memory region with zeros, based on the specified processor mode.
ZeroUserMemory

The ZeroUserMemory function fills a user-mode memory region with zeros.