API Reference (Visual Studio Debugging)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at API Reference (Visual Studio Debugging).

The reference section includes a conceptual overview of the API, a guide that shows the syntax and usage for all API elements, and an assortment of code examples. All references are listed alphabetically by category.

The following table shows the common HRESULT values returned by methods.

NameDescriptionValue
S_OKSuccess.0x00000000
E_UNEXPECTEDUnexpected failure.0x8000FFFF
E_NOTIMPLNot implemented.0x80004001
E_OUTOFMEMORYNot enough memory to complete the operation.0x8007000E
E_INVALIDARGOne or more arguments are invalid.0x80070057
E_NOINTERFACENo such interface supported.0x80004002
E_POINTERInvalid pointer.0x80004003
E_HANDLEInvalid handle.0x80070006
E_ABORTOperation aborted.0x80004004
E_FAILUnexpected failure.0x80004005
E_ACCESSDENIEDGeneral access denied error.0x80070005
System_CAPS_ICON_note.jpg Note

When a Visual Studio debugging method returns S_OK, it is assumed that all out parameter pointers are valid, that is, no validation is conducted on out parameter pointers when S_OK is returned.

System_CAPS_ICON_note.jpg Note

Invalid or NULL [out] parameters may cause the IDE to crash.

Interfaces
Enumerations
Structures and Unions
SDK Helpers for Debugging
Visual Studio Debugger Extensibility

Show: