Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Indicates whether the specified string has embedded null characters.
Syntax
HRESULT WindowsStringHasEmbeddedNull(
HSTRING string,
BOOL *hasEmbedNull
);
Parameters
string
Type: [in] HSTRING
The string to test for embedded null characters.
hasEmbedNull
Type: [out] BOOL*
TRUE if string has one or more embedded null characters; otherwise, FALSE. FALSE if string is NULL or the empty string.
Return value
Type: HRESULT
This function can return one of these values.
| Return code | Description |
|---|---|
|
The test completed successfully. |
|
hasEmbedNull is NULL. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | winstring.h |
| Library | mincore.lib |