The maximum string length returned is 128 bytes. If the size of the application's buffer (usLength) is smaller than the size of the error string to be returned, then only usLength bytes of the error string will be copied into the application's buffer. Therefore, a buffer size of 128 bytes is recommended to avoid this problem.


[Back] [Next]