1. Trang chủ
  2. » Công Nghệ Thông Tin

Bài tập Unicode String

1 765 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Rtlinitunicodestring
Trường học Microsoft Corporation
Chuyên ngành Kernel-Mode Driver Architecture
Thể loại Tài liệu
Năm xuất bản 2005
Thành phố Redmond
Định dạng
Số trang 1
Dung lượng 128,38 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Bài tập Unicode String

Trang 1

The RtlInitUnicodeString routine initializes a counted Unicode string

VOID 

  RtlInitUnicodeString(

    IN OUT PUNICODE_STRING  DestinationString,

    IN PCWSTR  SourceString

    );

Parameters

DestinationString

Pointer to the UNICODE_STRING structure to be initialized

SourceString

Pointer to a null-terminated Unicode string with which to initialize the counted string

Return Value

None

Headers

Declared in wdm.h and ntddk.h Include wdm.h or ntddk.h

Comments

The Buffer member of DestinationString is initialized to point to SourceString The length and maximum length

for DestinationString are initialized to the length of SourceString If SourceString is NULL, the length is zero

Callers of RtlInitUnicodeString can be running at IRQL <= DISPATCH_LEVEL if the DestinationString buffer is

nonpageable Usually, callers run at IRQL = PASSIVE_LEVEL because most other RtlXxxString routines cannot

be called at raised IRQL

See Also

RtlInitAnsiString, RtlInitString, UNICODE_STRING

© Microsoft Corporation Send feedback on this topic

Built on Friday, February 18, 2005

 

Kernel-Mode Driver Architecture: Windows DDK

Page 1 of 1 RtlInitUnicodeString

9/19/2010 mk:@MSITStore:E:\WINDDK\3790.1830\help\kmarch.chm::/hh/kmarch/k109_10e59fa9-

Ngày đăng: 16/08/2012, 08:46

w