1.10 Data Conversions

InterlockedExchange

Sets a variable of type LONG to a given value as an atomic operation; returns the original value of the variable.

RtlConvertLongToLargeInteger

Converts a given, LONG value to a LARGE_INTEGER value.

RtlConvertUlongToLargeInteger

Converts a given ULONG value to a LARGE_INTEGER value.

RtlTimeFieldsToTime

Converts the given TIME_FIELDS-type information to system time.

RtlTimeToTimeFields

Converts a given system time value into a TIME_FIELDS-type buffered value.

ExSystemTimeToLocalTime

Adds the time-zone bias for the current locale to GMT system time, converting it to local time.

ExLocalTimeToSystemTime

Subtracts the time-zone bias from the local time, converting it to GMT system time.

RtlAnsiStringToUnicodeString

Converts a buffered ANSI string to a Unicode string, given a pointer to the source-string buffer and the address of caller-supplied storage for a pointer to the destination buffer. (This routine allocates a destination buffer if the caller does not supply the storage.)

RtlUnicodeStringToAnsiString

Converts a buffered Unicode string to an ANSI string, given a pointer to the source-string buffer and the address of caller-supplied storage for a pointer to the destination buffer. (This routine allocates a destination buffer if the caller does not supply the storage.)

RtlUpperString

Converts a copy of a given buffered string to uppercase and stores the copy in the given destination buffer.

RtlUpcaseUnicodeString

Converts a copy of a given buffered Unicode string to uppercase and stores the copy in the given destination buffer.

RtlCharToInteger

Converts a given, single-byte character value into an integer in the specified base.

RtlIntegerToUnicodeString

Converts a given unsigned integer value in the specified base to one or more Unicode characters in the given buffer.

RtlUnicodeStringToInteger

Converts a Unicode string representation of an integer into its integer equivalent.