다음을 통해 공유


Kernel-Mode 안전 정수 함수 요약

다음 표에는 커널 모드 드라이버에 사용할 수 있는 안전한 정수 함수가 요약되어 있습니다.

Functions 목적

RtlDWordPtrAdd
RtlInt8추가
RtlIntAdd
RtlIntPtrAdd
RtlLongLongAdd
RtlLongPtrAdd
RtlPtrdiffTAdd
RtlShortAdd
RtlSizeTAdd
RtlSSIZET추가
RtlUInt8추가
RtlUIntAdd
RtlUIntPtrAdd
RtlULongAdd
RtlULongLongAdd
RtlULongPtrAdd
RtlUShortAdd

더하기 함수

RtlDWordPtrMult
RtlInt8Mult
RtlIntMult
RtlIntPtrMult
RtlLongLongMult
RtlLongMult
RtlLongPtrMult
RtlPtrdiffTMult
RtlShortMult
RtlSSIZETMult
RtlUInt8Mult
RtlSizeTMult
RtlULongMult
RtlULongLongMult
RtlUIntPtrMult
RtlUIntMult
RtlULongPtrMult
RtlUShortMult

곱하기 함수

RtlShortSub
RtlUShortSub
RtlULongPtrSub
RtlULongLongSub
RtlULongSub
RtlUInt8Sub
RtlUIntPtrSub
RtlUIntSub
RtlSSIZETSub
RtlSizeTSub
RtlDWordPtrSub
RtlInt8Sub
RtlPtrdiffTSub
RtlLongSub
RtlIntSub
RtlLongLongSub
RtlIntPtrSub
RtlLongPtrSub

빼기 함수

RtlUShortToShort
RtlLongPtrToShort
RtlLongToShort
RtlLongLongToShort
RtlULongLongToShort
RtlULongToShort
RtlUIntPtrToShort
RtlULongPtrToShort
RtlUIntToShort
RtlIntPtrToShort
RtlIntToShort

Short로 변환

RtlLongPtrToChar
RtlLongLongToChar
RtlUInt8ToChar
RtlULongToChar
RtlLongToChar
RtlULongLongToChar
RtlUIntToChar
RtlIntToChar
RtlIntPtrToChar
RtlULongPtrToChar
RtlShortToChar
RtlUShortToChar
RtlByteToChar
RtlUIntPtrToChar

Char로 변환

RtlIntPtrToInt
RtlLongLongToInt
RtlLongPtrToInt
RtlULongLongToInt
RtlULongPtrToInt
RtlLongToInt
RtlULongToInt
RtlUIntToInt
RtlUIntPtrToInt

Int로 변환

RtlUInt8ToInt8
RtlLongLongToInt8
RtlLongPtrToInt8
RtlULongPtrToInt8
RtlLongToInt8
RtlULongLongToInt8
RtlULongToInt8
RtlIntToInt8
RtlIntPtrToInt8
RtlUIntToInt8
RtlByteToInt8
RtlUIntPtrToInt8
RtlUShortToInt8
RtlShortToInt8

Int8로 변환

RtlUIntPtrToInt16

Int16으로 변환

RtlLongLongToIntPtr
RtlLongPtrToIntPtr
RtlLongToIntPtr
RtlULongToIntPtr
RtlULongPtrToIntPtr
RtlUIntPtrToIntPtr
RtlUIntToIntPtr

IntPtr로 변환

RtlULongToLong
RtlIntPtrToLong
RtlLongLongToLong
RtlUIntPtrToLong
RtlLongPtrToLong
RtlUIntToLong
RtlULongLongToLong
RtlULongPtrToLong

Long으로 변환

RtlIntPtrToLongPtr
RtlULongToLongPtr
RtlLongLongToLongPtr
RtlUIntPtrToLongPtr
RtlULongLongToLongPtr
RtlUIntToLongPtr
RtlULongPtrToLongPtr

LongPtr로 변환

RtlULongLongToLongLong
RtlULongPtrToLongLong
RtlUIntPtrToLongLong

LongLong으로 변환

RtlIntPtrToUShort
RtlInt8ToUShort
RtlULongToUShort
RtlIntToUShort
RtlLongLongToUShort
RtlLongPtrToUShort
RtlLongToUShort
RtlShortToUShort
RtlUIntPtrToUShort
RtlUIntToUShort
RtlULongLongToUShort
RtlULongPtrToUShort

UShort로 변환

RtlUShortToUChar
RtlInt8ToUChar
RtlIntPtrToUChar
RtlIntToUChar
RtlLongLongToUChar
RtlLongPtrToUChar
RtlLongToUChar
RtlShortToUChar
RtlUIntPtrToUChar
RtlUIntToUChar
RtlULongLongToUChar
RtlULongPtrToUChar
RtlULongToUChar

UChar로 변환

RtlInt8ToUInt
RtlULongToUInt
RtlLongLongToUInt
RtlIntPtrToUInt
RtlShortToUInt
RtlLongPtrToUInt
RtlLongToUInt
RtlUIntPtrToUInt
RtlIntToUInt
RtlULongLongToUInt
RtlULongPtrToUInt

Uint로 변환

RtlUShortToUInt8
RtlInt8ToUInt8
RtlLongLongToUInt8
RtlIntToUInt8
RtlIntPtrToUInt8
RtlLongPtrToUInt8
RtlShortToUInt8
RtlLongToUInt8
RtlUIntPtrToUInt8
RtlUIntToUInt8
RtlULongLongToUInt8
RtlULongPtrToUInt8
RtlULongToUInt8

Uint8로 변환

RtlUIntPtrToUInt16

Uint16으로 변환

RtlULongToUIntPtr
RtlLongToUIntPtr
RtlShortToUIntPtr
RtlInt8ToUIntPtr
RtlIntPtrToUIntPtr
RtlLongPtrToUIntPtr
RtlULongLongToUIntPtr
RtlULongPtrToUIntPtr

UintPtr로 변환

RtlULongPtrToULong
RtlInt8ToULong
RtlIntPtrToULong
RtlIntToULong
RtlLongLongToULong
RtlLongPtrToULong
RtlLongToULong
RtlShortToULong
RtlUIntPtrToULong
RtlULongLongToULong

ULong으로 변환

RtlShortToULongLong
RtlInt8ToULongLong
RtlIntToULongLong
RtlLongLongToULongLong
RtlIntPtrToULongLong
RtlLongPtrToULongLong
RtlLongToULongLong

ULongLong으로 변환

RtlULongLongToULongPtr
RtlIntPtrToULongPtr
RtlLongPtrToULongPtr
RtlInt8ToULongPtr
RtlLongToULongPtr
RtlShortToULongPtr

ULongPtr로 변환