Share via


ISpCFGInterpreterSite::GetResourceValue

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method gets resource information for a grammar.

Syntax

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 Value

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

Header sapiddk.h, sapiddk.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpCFGInterpreterSite
SAPI Interfaces