BSTR GetLastErrorString()
Description
This function returns a string containing information about the most recent error. If you call GetLastErrorString() after a function that executed successfully, then this API returns information about the last error that occurred during a prior function call. To avoid confusion, always call GetLastErrorString() immediately after calling a function that returned an error.
Return Value
A string containing error information. If no errors have occurred since you created the QMF for Windows API object, NULL is returned.
Related Tasks