wclHelpersHResultFromWin32 Method |
Converts Win32 error code into HRESULT.
Namespace: wclCommonAssembly: wclCommon (in wclCommon.dll) Version: 7.11.10.0 (7.11.10.0)
Syntax public static int HResultFromWin32(
int Win32Error
)
Public Shared Function HResultFromWin32 (
Win32Error As Integer
) As Integer
public:
static int HResultFromWin32(
int Win32Error
)
Parameters
- Win32Error Int32
- Win32 error code.
Return Value
Int32 HRESULT value represents the given Win32 error code.
See Also