阅读:1571回复:1
RtlAppendUnicodeStringToString有什么用?
a = 10;
RtlInitUnicodeString(&deviceName, L\"AA\"); RtlInitUnicodeString(&itos,L\"BB\"); RtlIntegerToUnicodeString(a,10,&itos); status = RtlAppendUnicodeStringToString(&deviceName,&itos); 操作不成功 status == STATUS_BUFFER_TOO_SMALL. 结果想成为“AA10” |
|
|
沙发#
发布于:2002-08-15 10:26
不看书!
UNICODE_STRING devName; WCHAR devNameBuffer[MAX_NAME_LEN]; devName.Buffer=devNameBuffer; devName.MaximumLength=MAX_NAME_LEN; devName.Length=0; RtlAppendUnicodeToString(...); |
|