Unicode字符串的结构及初始换

来源:互联网 发布:域名授权破解 编辑:程序博客网 时间:2024/05/21 17:16

Windows内核是使用Unicode的编码的。

初始化:

1.

UNICODE_STRING str;
RtlInitUnicodeString(&str,L"my first string!");

2.定义的时候初始化

UNICODE_STRING str=RTL_CONST_STRING("L"my first string!"");

0 0
原创粉丝点击