ISpCFGInterpreterSite::GetResourceValue (Windows CE 5.0)

Send Feedback

This method gets resource information for a grammar.

HRESULT GetResourceValue(  const WCHAR* pszResourceName,  WCHAR** ppCoMemResource);

Parameters

  • pszResourceName
    [in] Pointer to the name of the resource for which to retrieve information.
  • ppCoMemResource
    [out] Address of a pointer to the resource information. Applications implementing this method must call CoTaskMemFree to free memory associated with this resource.

Return Values

The following table shows the possible return values.

Value Description
S_OK Function completed successfully.
E_INVALIDARG One of the parameters is bad or invalid.
E_OUTOFMEMORY Exceeded available memory.
FAILED(hr) Appropriate error message.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.

See Also

ISpCFGInterpreterSite | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.