LispWorks COM/Automation User Guide and Reference Manual > 2 COM Reference Entries

NextPrevUpTopContentsIndex

succeeded

Macro
Summary

Checks an hresult for success.

Package

com

Signature

succeeded hresult => flag

Arguments

hresult

An integer hresult .

Values

flag

A boolean.

Description

The succeeded macro checks the hresult and returns true if the it is one of the 'succeeded' values, for instance S_OK or S_FALSE .

Examples
(succeeded S_OK) => t (succeeded E_NOINTERFACE) => nil
See also

check-hresult
hresult
hresult-equal
s_ok


LispWorks COM/Automation User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex