Lines Matching defs:pDecl
290 static HRESULT WINAPI IDirect3DVertexDeclaration9Impl_GetDeclaration(LPDIRECT3DVERTEXDECLARATION9 iface, D3DVERTEXELEMENT9* pDecl, UINT* pNumElements) {
293 TRACE("iface %p, elements %p, element_count %p.\n", iface, pDecl, pNumElements);
297 /* Passing a NULL pDecl is used to just retrieve the number of elements */
298 if (!pDecl) {
299 TRACE("NULL pDecl passed. Returning D3D_OK.\n");
303 TRACE("Copying %p to %p\n", This->elements, pDecl);
304 CopyMemory(pDecl, This->elements, This->element_count * sizeof(D3DVERTEXELEMENT9));
425 HRESULT WINAPI IDirect3DDevice9Impl_SetVertexDeclaration(LPDIRECT3DDEVICE9EX iface, IDirect3DVertexDeclaration9* pDecl) {
427 IDirect3DVertexDeclaration9Impl *pDeclImpl = (IDirect3DVertexDeclaration9Impl *)pDecl;
430 TRACE("iface %p, vertex declaration %p.\n", iface, pDecl);