mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[SDK] Add RtlInitString to the NDK
This commit is contained in:
parent
f13b6e025f
commit
522821bb8b
1 changed files with 16 additions and 0 deletions
|
@ -2201,6 +2201,22 @@ RtlHashUnicodeString(
|
||||||
_Out_ PULONG HashValue
|
_Out_ PULONG HashValue
|
||||||
);
|
);
|
||||||
|
|
||||||
|
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||||
|
_At_(DestinationString->Buffer, _Post_equal_to_(SourceString))
|
||||||
|
_When_(SourceString != NULL,
|
||||||
|
_At_(DestinationString->Length, _Post_equal_to_(_String_length_(SourceString)))
|
||||||
|
_At_(DestinationString->MaximumLength, _Post_equal_to_(DestinationString->Length + sizeof(CHAR))))
|
||||||
|
_When_(SourceString == NULL,
|
||||||
|
_At_(DestinationString->Length, _Post_equal_to_(0))
|
||||||
|
_At_(DestinationString->MaximumLength, _Post_equal_to_(0)))
|
||||||
|
NTSYSAPI
|
||||||
|
VOID
|
||||||
|
NTAPI
|
||||||
|
RtlInitString(
|
||||||
|
_Out_ PSTRING DestinationString,
|
||||||
|
_In_opt_z_ __drv_aliasesMem PCSTR SourceString
|
||||||
|
);
|
||||||
|
|
||||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||||
_At_(DestinationString->Buffer, _Post_equal_to_(SourceString))
|
_At_(DestinationString->Buffer, _Post_equal_to_(SourceString))
|
||||||
_When_(SourceString != NULL,
|
_When_(SourceString != NULL,
|
||||||
|
|
Loading…
Reference in a new issue