STDMETHOD

Defines an interface function that returns an HRESULT. It includes the virtual keyword and is used for method declarations.

#define STDMETHOD(method)     virtual HRESULT STDMETHODCALLTYPE method

Requirements

For an explanation of the requirement values, see Requirements (COM).

Windows NT/2000/XP: Requires Windows NT 3.1 or later.

Windows 95/98: Requires Windows 95 or later.

Header: Declared in basetyps.h.

See Also

Concepts

Error Handling (COM)

Send comments about this topic to Microsoft.