Microsoft KB Archive/326025

= PRB: RasGetErrorString Returns Unnecessary Information =

Article ID: 326025

Article Last Modified on 2/11/2004

-

APPLIES TO


 * Microsoft Windows XP Professional

-



This article was previously published under Q326025



SYMPTOMS
When you use the RasGetErrorString function on a computer that is running Microsoft Windows XP, the function returns certain error codes that also return the following message with the explanation of the error:

For further assistance, click More Info or search Help and Support Center for this error number.



RESOLUTION
You can safely ignore the extra information.



MORE INFORMATION
To reproduce this problem on a computer that is running Windows XP, run the following sample code:
 * 1) include 
 * 2) include 
 * 3) include 


 * 1) define ERROR_VAL   718
 * 2) define BUFFER_SIZE 256

main { DWORD dwRetVal;

UINT uErrorValue = ERROR_VAL; DWORD cBufSize = BUFFER_SIZE; CHAR lpszErrorString[ BUFFER_SIZE ];

dwRetVal = RasGetErrorString( uErrorValue, lpszErrorString, cBufSize );

if( dwRetVal == ERROR_SUCCESS ) { printf( &quot;Error %d: %s\n&quot;, uErrorValue, lpszErrorString ); }  else { printf( &quot;RasGetErrorString failed, Return Value: %d&quot;, dwRetVal ); } }

Keywords: kbprb kbdswnet2003swept KB326025

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.