Partager via


IDebugEvent2::GetAttributes

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the attributes for this debug event.

Syntax

HRESULT GetAttribute(   
   DWORD* pdwAttrib  
);  
int GetAttribute(   
   out uint pdwAttrib  
);  

Parameters

pdwAttrib
[out] A combination of flags from the EVENTATTRIBUTES enumeration.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The IDebugEvent2 interface is common to all events. This method describes the type of event; for example, is the event synchronous or asynchronous and is it a stopping event.

See Also

IDebugEvent2
EVENTATTRIBUTES