Leaked source code of windows server 2003
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.
 
 
 
 
 
 

47 lines
811 B

//
// candkey.h
//
#if !defined (__CANDKEY_H__INCLUDED_)
#define __CANDKEY_H__INCLUDED_
#include "private.h"
#include "mscandui.h"
//
// CCandUIKeyTable
//
class CCandUIKeyTable : public ITfCandUIKeyTable
{
public:
CCandUIKeyTable(int nData);
~CCandUIKeyTable();
//
// IUnknown methods
//
STDMETHODIMP QueryInterface(REFIID riid, void **ppvObj);
STDMETHODIMP_(ULONG) AddRef();
STDMETHODIMP_(ULONG) Release();
//
// ITfCandUIKeyTable
//
STDMETHODIMP GetKeyDataNum(int *piNum);
STDMETHODIMP GetKeyData(int iData, CANDUIKEYDATA *pData);
//
//
//
HRESULT AddKeyData(const CANDUIKEYDATA *pData);
protected:
long m_cRef;
CANDUIKEYDATA *m_pData;
int m_nData;
int m_nDataMax;
};
#endif // __CANDKEY_H__INCLUDED_