代码1:

WCHAR enumeratorName[64] = {0};  
UNICODE_STRING unicodeEnumName;  
RtlInitUnicodeString(&unicodeEnumName, enumeratorName);  

unicodeEnumName是指向enumeratorName的内存指针

代码2:

UNICODE_STRING         temp;  
RtlInitUnicodeString(&temp, L"PCI");  

temp是字符串“PCI”的内存指针

posted on 2015-02-26 11:22  J博士  阅读(1006)  评论(0编辑  收藏  举报