Back to Devexpress

cxE_NOINTERFACE Constant

vcl-dxcoreclasses-dot-cxe-underscore-nointerface.md

latest928 B
Original Source

cxE_NOINTERFACE Constant

Specifies the default error code indicating that a class does not support the requested interface.

Declaration

delphi
const cxE_NOINTERFACE = HResult($80004002);

Remarks

The QueryInterface function implementations in many DevExpress classes return this global constant instead of 0 if a class does not implement the requested interface. A QueryInterface function implementation accepts the interface’s globally unique 128-bit identifier (GUID) as the IID parameter.

Note

The cxE_NOINTERFACE global constant value matches the Windows API E_NOINTERFACE error code.

See Also

dxCoreClasses Unit