BUG: ANSI Version of SetupDiEnumDriverInfo() FailsID: Q185502
|
Any call to the ANSI version of SetupDiEnumDriverInfo() returns failure, and GetLastError() returns ERROR_INVALID_USER_BUFFER.
Use the Unicode version of this function as a workaround, either by calling the Unicode function SetupDiEnumDriverInfoW() directly or using a #define UNICODE.
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
For more information on Compiling projects with UNICODE enabled, see
Microsoft Knowledge Base Article:
Q99359 INFO: UNICODE and _UNICODE Needed to Compile for Unicode
Additional query words: kbDSupport kbdsh kbNoKeyword SetupDiEnumDriverInfoA
Keywords :
Version : WINNT:4.0
Platform : winnt
Issue type : kbbug
Last Reviewed: March 4, 1999