Adds a stack frame sniffer to the application.
Syntax
HRESULT AddStackFrameSniffer( IDebugStackFrameSniffer *pdsfs, DWORD *pdwCookie );
Parameters
- pdsfs
- [in] Address of an IDebugStackFrameSniffer interface.
- pdwCookie
- [out] Address of a unsigned long integer value that contains a cookie that is used to remove the stack frame sniffer.
Return Value
Returns S_OK if successful, or an error code otherwise.