Well, one of the parameters seem to be the device, so put it in one of your hooked functions and call it.
well the code it's self all ready has everything says my source master and he gave me that and he said just add that to get the gui
just draw a sprite.
LPDIRECT3DTEXTURE9 pTextureInterface;
LPD3DXSPRITE pSpriteInterface;
D3DXVECTOR2 Position;
HRESULT WINAPI IDirect3DDevice9::BeginScene()
{
Position.x = 150.0f;
Position.y = 200.0f;
D3DXCreateTextureFromFile(pDeviceInterface, "*:\\file.ext", &pTextureInterface);
D3DXCreateSprite(pDeviceInterface, &pSpriteInterface);
return pDeviceInterface->BeginScene();
}
HRESULT WINAPI IDirect3DDevice9::EndScene()
{
pSpriteInterface->Begin();
pSpriteInterface->Draw(pTextureInterface, NULL, NULL, NULL, NULL, &Position, 0xFFFFFFFF);
pSpriteInterface->End();
return pDeviceInterface->EndScene();
}