共用方式為


IDebugEvent2::GetAttributes

Gets the attributes for this debug event.

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

Reference

IDebugEvent2

EVENTATTRIBUTES