RtlIntToULongLong 函数 (ntintsafe.h)
将 INT 类型的值转换为 ULONGLONG 类型的值。
语法
NTSTATUS RtlIntToULongLong(
[in] INT iOperand,
[out] ULONGLONG *pullResult
);
参数
[in] iOperand
要转换的值。
[out] pullResult
指向已转换值的指针。 如果转换导致原始值的截断,函数将返回STATUS_INTEGER_OVERFLOW,此参数无效。
返回值
如果作成功,则返回STATUS_SUCCESS。
有关可能的错误返回值,请参阅 WDK 中 ntintsafe.h
中此帮助程序函数的实现。
言论
这是一组内联函数之一,旨在提供类型转换和执行有效性检查,对性能的影响最小。
此函数使用以下备用名称:
- RtlIntToDWordLong
- RtlIntToULong64
- RtlIntToDWord64
- RtlIntToUInt64
- RtlInt32ToULongLong
- RtlInt32ToDWordLong
- RtlInt32ToULong64
- RtlInt32ToDWord64
- RtlInt32ToUInt64
- RtlIntToUIntPtr
- RtlIntToSizeT
- RtlInt32ToUIntPtr
- RtlInt32ToSizeT
- RtlIntToUIntPtr
- RtlIntToULongPtr
- RtlIntToDWordPtr
- RtlIntToSIZET
- RtlInt32ToULongPtr
- RtlInt32ToDWordPtr
- RtlInt32ToSIZET
- RtlIntToULongPtr
要求
要求 | 价值 |
---|---|
目标平台 | 桌面 |
标头 | ntintsafe.h |