Most string parameters are associated with a parameter that indicates the length of the string.
When passing a null-terminated string, an application can pass the length parameter as CS_NULLTERM.
When passing a string that is not null-terminated, an application must set the associated length parameter to the length, in bytes, of the string.
If a string parameter is NULL, the associated length parameter must be 0 or CS_UNUSED.