// d3d10umddi.h
PFND3DWDDM2_2DDI_SHADERCACHE_STORE_VALUE_CB Pfnd3dwddm22DdiShadercacheStoreValueCb;
HRESULT Pfnd3dwddm22DdiShadercacheStoreValueCb(
D3DWDDM2_2DDI_HRTCACHESESSION hCacheSession,
const D3DWDDM2_2DDI_SHADERCACHE_HASH *pPrecomputedHash,
const void *pKey,
SIZE_T KeyLen,
const void *pValue,
SIZE_T ValueLen
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnShaderCacheStoreValue callback function stores a shader cache value.
hCacheSessionThe handle of the cache session for the driver to use when it calls back into the runtime.
pPrecomputedHashA hash value.
pKeyA pointer to a key.
KeyLenThe length of the key.
pValueA pointer to an input value.
ValueLenThe length of the input value.
If this callback function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.