I have missed a private stuff out of the class and source but here is everything you need for drawing text.
d3dhooks.h
class DXGH
{
public:
void DrawFillRect(IDirect3DDevice9* dev, int x, int y, int w, int h,unsigned char r, unsigned char g, unsigned char b);
static HRESULT WINAPI...