다음을 통해 공유


ISpCFGInterpreterSite::GetResourceValue (Windows Embedded CE 6.0)

1/6/2010

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