Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CDDEServer Class Reference

#include <DDEServer.h>

List of all members.

Public Member Functions

 CDDEServer (LPCTSTR pszService)
virtual ~CDDEServer ()
BOOL Create ()
void Close ()

Protected Member Functions

CString StringFromHsz (HSZ hsz)
virtual BOOL CheckAccept (LPCTSTR pszTopic)
virtual BOOL Execute (LPCTSTR pszTopic, HDDEDATA hData, HDDEDATA *phResult)
virtual BOOL Execute (LPCTSTR pszTopic, LPCVOID pData, DWORD nLength)
virtual BOOL Execute (LPCTSTR pszTopic, LPCTSTR pszMessage)

Static Protected Member Functions

static CString ReadArgument (LPCTSTR &pszMessage)
static HDDEDATA CALLBACK DDECallback (UINT wType, UINT wFmt, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1, DWORD dwData2)

Protected Attributes

DWORD m_hInstance
HSZ m_hszService
CString m_sService

Static Protected Attributes

static CDDEServerm_pServer = NULL


Constructor & Destructor Documentation

CDDEServer::CDDEServer LPCTSTR  pszService  ) 
 

Definition at line 45 of file DDEServer.cpp.

References m_hInstance, m_hszService, m_pServer, m_sService, and NULL.

CDDEServer::~CDDEServer  )  [virtual]
 

Definition at line 53 of file DDEServer.cpp.

References Close(), m_pServer, and NULL.


Member Function Documentation

BOOL CDDEServer::CheckAccept LPCTSTR  pszTopic  )  [protected, virtual]
 

Definition at line 194 of file DDEServer.cpp.

Referenced by DDECallback().

void CDDEServer::Close  ) 
 

Definition at line 82 of file DDEServer.cpp.

References m_hInstance, m_hszService, and NULL.

Referenced by CShareazaApp::ExitInstance(), and ~CDDEServer().

BOOL CDDEServer::Create  ) 
 

Definition at line 62 of file DDEServer.cpp.

References DDECallback(), m_hInstance, m_hszService, m_sService, and NULL.

Referenced by CShareazaApp::InitInstance().

HDDEDATA CALLBACK CDDEServer::DDECallback UINT  wType,
UINT  wFmt,
HCONV  hConv,
HSZ  hsz1,
HSZ  hsz2,
HDDEDATA  hData,
DWORD  dwData1,
DWORD  dwData2
[static, protected]
 

Definition at line 97 of file DDEServer.cpp.

References CheckAccept(), Execute(), m_pServer, NULL, and StringFromHsz().

Referenced by Create().

BOOL CDDEServer::Execute LPCTSTR  pszTopic,
LPCTSTR  pszMessage
[protected, virtual]
 

Definition at line 250 of file DDEServer.cpp.

References CBTInfo::HasEncodingError(), IDS_BT_PREFETCH_ERROR, IDS_BT_PREFETCH_FILE, IDS_URL_PARSE_ERROR, IDS_URL_RECEIVED, CBTInfo::LoadTorrentFile(), CShareazaApp::Message(), MSG_ERROR, MSG_SYSTEM, CShareazaURL::Parse(), theApp, WM_COLLECTION, and WM_URL.

BOOL CDDEServer::Execute LPCTSTR  pszTopic,
LPCVOID  pData,
DWORD  nLength
[protected, virtual]
 

Definition at line 221 of file DDEServer.cpp.

References Execute(), CShareazaApp::m_bNT, NULL, and theApp.

BOOL CDDEServer::Execute LPCTSTR  pszTopic,
HDDEDATA  hData,
HDDEDATA *  phResult
[protected, virtual]
 

Definition at line 204 of file DDEServer.cpp.

Referenced by DDECallback(), and Execute().

CString CDDEServer::ReadArgument LPCTSTR &  pszMessage  )  [static, protected]
 

Definition at line 154 of file DDEServer.cpp.

CString CDDEServer::StringFromHsz HSZ  hsz  )  [protected]
 

Definition at line 134 of file DDEServer.cpp.

References m_hInstance, and NULL.

Referenced by DDECallback().


Member Data Documentation

DWORD CDDEServer::m_hInstance [protected]
 

Definition at line 39 of file DDEServer.h.

Referenced by CDDEServer(), Close(), Create(), and StringFromHsz().

HSZ CDDEServer::m_hszService [protected]
 

Definition at line 40 of file DDEServer.h.

Referenced by CDDEServer(), Close(), and Create().

CDDEServer * CDDEServer::m_pServer = NULL [static, protected]
 

Definition at line 42 of file DDEServer.cpp.

Referenced by CDDEServer(), DDECallback(), and ~CDDEServer().

CString CDDEServer::m_sService [protected]
 

Definition at line 41 of file DDEServer.h.

Referenced by CDDEServer(), and Create().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:05 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2