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.
Invalid annotation: 'NullTerminated' property may only be used on buffers whose elements are of integral or pointer type: Function ''function'' 'parameter'.
Remarks
This warning indicates an incorrect use of the NullTerminated property (the ones ending in '_z'). You can only use this type of property on pointer or array types.
Code analysis name: NULLTERMINATED_ON_NON_POINTER
Example
The following code generates this warning:
#include <sal.h>
void f(_In_z_ char x)
{
// code ...
}
To correct this warning, use the following code:
#include <sal.h>
void f(_In_z_ char * x)
{
// code ...
}