Microsoft SDK for Java

HResultFromException

Creates an HRESULT return type from a Java exception object. This function prototype is found in the Nativcom.h header file.

Syntax

HResult __cdecl HResultFromException(OBJECT *exception_object);

Return Value

An HRESULT type.

Parameters

*exception_object The exception object to covert to an HRESULT.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.