Microsoft Speech API 5.4
ISpCFGInterpreterSite::GetResourceValue
ISpCFGInterpreterSite::GetResourceValue retrieves the resource information for a grammar.
HRESULT GetResourceValue(
LPCWSTR *pszResourceName,
[annotation("__deref_out")] LPWSTR **ppCoMemResource
);
Parameters
- pszResourceName
[in] The name of the resource from which to retrieve the grammar information. - ppCoMemResource
[out] Pointer containing the passed back resource value.
Applications implementing this method must call CoTaskMemFree() to free memory associated with this resource.
Return values
| Value |
| S_OK |
| E_INVALIDARG |
| E_OUTOFMEMORY |
| FAILED(hr) |