SignError function (Windows)

Switch View :
ScriptFree
SignError function

Applies to: desktop apps only

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.

Syntax

HRESULT WINAPI SignError(void);

Parameters

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.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

DLL

Mssign32.dll

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012