Microsoft SDK for Java

getHResult

This method of the ComException Class retrieves the HRESULT returned by the COM method. To catch a ComException object thrown by a COM method, call this method.

Syntax

public int getHResult();

Return Value

Returns the HRESULT returned by the COM method.

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