नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Gets the state of this bound breakpoint.
Syntax
Parameters
pState
[out] Returns a value from the BP_STATE enumeration that describes the state of the breakpoint.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Example
The following example shows how to implement this method for a simple CBoundBreakpoint object that exposes the IDebugBoundBreakpoint2 interface.
HRESULT CBoundBreakpoint::GetState(BP_STATE* pState)
{
HRESULT hr;
// Check for a valid pointer to pState and assign the local state variable.
if (pState)
{
*pState = m_state;
hr = S_OK;
}
else
{
hr = E_INVALIDARG;
}
return hr;
}