次の方法で共有


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 このヘルパー関数の実装を参照してください。

注釈

これは、型変換を提供し、パフォーマンスへの影響を最小限に抑えて有効性チェックを実行するように設計されたインライン関数のセットの 1 つです。

この関数では、次の代替名を使用します。

  • RtlIntToDWordLong
  • RtlIntToULong64
  • RtlIntToDWord64
  • RtlIntToUInt64
  • RtlInt32ToULongLong
  • RtlInt32ToDWordLong
  • RtlInt32ToULong64
  • RtlInt32ToDWord64
  • RtlInt32ToUInt64
  • RtlIntToUIntPtr
  • RtlIntToSizeT
  • RtlInt32ToUIntPtr
  • RtlInt32ToSizeT
  • RtlIntToUIntPtr
  • RtlIntToULongPtr
  • RtlIntToDWordPtr
  • RtlIntToSIZET
  • RtlInt32ToULongPtr
  • RtlInt32ToDWordPtr
  • RtlInt32ToSIZET
  • RtlIntToULongPtr

要件

要件
対象プラットフォーム デスクトップ
Header ntintsafe.h