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

NextPrevUpTopContentsIndex

s_ok

Macro
Summary

Compares a result code to the value of s_ok.

Package

com

Signature

s_ok hresult => flag

Arguments

hresult

An integer hresult.

Values

flag

A boolean.

Description

The s_ok macro checks the hresult and returns true if its value is that of the constant S_OK.

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

succeeded
hresult
hresult-equal
check-hresult


LispWorks COM/Automation User Guide and Reference Manual - 23 Mar 2017

NextPrevUpTopContentsIndex