Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.0 KiB

  1. // File: srvccall.h
  2. #ifndef _SRVCCALL_H_
  3. #define _SRVCCALL_H_
  4. class CSrvcCall : public INmCallNotify
  5. {
  6. private:
  7. INmCall * m_pCall;
  8. BOOL m_fIncoming;
  9. LPTSTR m_pszName;
  10. NM_CALL_STATE m_State;
  11. BOOL m_fSelectedConference;
  12. POSITION m_pos; // position in g_pCallList
  13. ULONG m_cRef;
  14. DWORD m_dwCookie;
  15. public:
  16. CSrvcCall(INmCall * pCall);
  17. ~CSrvcCall();
  18. // IUnknown methods
  19. STDMETHODIMP_(ULONG) AddRef(void);
  20. STDMETHODIMP_(ULONG) Release(void);
  21. STDMETHODIMP QueryInterface(REFIID riid, PVOID *ppv);
  22. // INmCallNotify methods
  23. STDMETHODIMP NmUI(CONFN uNotify);
  24. STDMETHODIMP StateChanged(NM_CALL_STATE uState);
  25. STDMETHODIMP Failed(ULONG uError);
  26. STDMETHODIMP Accepted(INmConference *pConference);
  27. STDMETHODIMP CallError(UINT cns);
  28. STDMETHODIMP RemoteConference(BOOL fMCU, BSTR *pwszConfNames, BSTR *pbstrConfToJoin);
  29. STDMETHODIMP RemotePassword(BSTR bstrConference, BSTR *pbstrPassword, BYTE *pb, DWORD cb);
  30. // Internal methods
  31. VOID Update(void);
  32. VOID RemoveCall(void);
  33. };
  34. #endif