i'm not entirely new to this although i'm about a year out of practice. I took an old detected source, updated it and got it to not crash after being in game for an hour. Although the DIP Hook doesn't seem to let the hacks activate

i've tried message boxes on my hook, and DIP and they showed up fine, i know they work. But when i hit NUMPAD1 in game to activate something, it never seems to activate

Code:
#include <Windows.h>
#include <d3d9.h>
#include "XOR.h"
#include "main.h"

DWORD retMyDIP;



// Full Credits to Crash 
#define smPlayer (my_Stride == 44) 
#define smHeads (my_Stride == 36) 
#define smGuns (my_Stride == 32) 
#define Hands (my_Stride == 40 /*&& nNumVertices == 18 && nPrimitiveCount == 11)*/) 

void D3DDIP (LPDIRECT3DDEVICE9 pDevice)
{
	IDirect3DVertexBuffer9* my_StreamData = NULL; 
	UINT my_OffsetInBytes,my_Stride;  
	pDevice->GetStreamSource(0,&my_StreamData,&my_OffsetInBytes,&my_Stride); 

	if(GetAsyncKeyState(VK_NUMPAD1)&1) //does not seem to activate
	{
		if(smPlayer || smHeads || smGuns || Hands)
		{
			pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);//WallHack
			//MessageBox(NULL, NULL, NULL, NULL);
		} else {
			pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
	}
	}
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
i'd rather not post my hook as its the first time i've made a hook that didn't crash me and i'm kind of proud of that... lol