The definition of the internal DirectX D3DDP_PTRSTRIDE object is as follows: struct D3DDP_PTRSTRIDE { LPVOID lpvData; DWORD dwStride; };