#ifndef _NTINTSAFE_H_INCLUDED_
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
//=============================================================================
// Multiplication functions
//=============================================================================
//
// UINT8 multiplication
//
_Must_inspect_result_
__inline
NTSTATUS
RtlUInt8Mult(
_In_ UINT8 u8Multiplicand,
_In_ UINT8 u8Multiplier,
_Out_ _Deref_out_range_(==, u8Multiplicand * u8Multiplier) UINT8* pu8Result)
{
UINT uResult = ((UINT)u8Multiplicand) * ((UINT)u8Multiplier);
return RtlUIntToUInt8(uResult, pu8Result);
}
View code on GitHub
No description available.