Edit

Share via


WriteUnicodeStringToUser function (usermode_accessors.h)

The WriteUnicodeStringToUser function safely writes a UNICODE_STRING structure to user-mode memory.

Syntax

VOID WriteUnicodeStringToUser(
  volatile UNICODE_STRING *Destination,
  UNICODE_STRING          Value
);

Parameters

Destination

[out] A pointer to the user-mode memory ___location where the UNICODE_STRING structure will be written.

Value

[in] The UNICODE_STRING structure to write to the destination memory ___location.

Return value

None

Requirements

Requirement Value
Minimum supported client See Remarks
Header usermode_accessors.h
Library umaccess.lib
IRQL Less than or equal to APC_LEVEL

See also

ReadUnicodeStringFromUser

WriteUnicodeStringToMode