GetErrorGetError*
*



Contents  *



Index  *Topic Contents
*Previous Topic: FindNextFile
*Next Topic: GetParam

GetError

HRESULT GetError(
	[out] 		LPDWORD	pdwErrorType
	[in, out] 	LPDWORD	pdwErrorCode
	[in, out] 	LPDWORD	pdwErrorBufLen
	[out, string] 	LPWSTR	wsError
	);

Retrieves additional information about an error.

pdwErrorType
Indicates the error type. Currently set to zero.
pdwErrorCode
Indicates the error code.
pdwErrorBufLen
Indicates the size, in bytes, of the wsError buffer. Set to the number of bytes written to wsError if the buffer was large enough, or to the required buffer size if the buffer was not large enough.
wsError
Address of a buffer that receives the error information.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.