SignError function

Important  This API is deprecated. Microsoft may remove this API in future releases.
The SignError function calls the GetLastError function and converts the return code to an HRESULT.
Note  This function has no associated header file or import library. To call this function, you must create a user-defined header file and use the LoadLibrary and GetProcAddress functions to dynamically link to Mssign32.dll.


HRESULT WINAPI SignError(void);


This function has no parameters.

Return value

If the method succeeds, it returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.


Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]