#ifndef _NTINTSAFE_H_INCLUDED_
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
//
// SHORT -> CHAR conversion
//
__forceinline
NTSTATUS
RtlShortToChar(
_In_ SHORT sOperand,
_Out_ _Deref_out_range_(==, sOperand) CHAR* pch)
{
#ifdef _CHAR_UNSIGNED
return RtlShortToUChar(sOperand, (UCHAR*)pch);
#else
return RtlShortToInt8(sOperand, (INT8*)pch);
#endif // _CHAR_UNSIGNED
}
View code on GitHub
No description available.