ITfInputScope::GetSRGS method (inputscope.h)

Gets the Speech Recognition Grammar Specification (SRGS) string to be recognized.

Syntax

HRESULT GetSRGS(
  [out] BSTR *pbstrSRGS
);

Parameters

[out] pbstrSRGS

The xml string. The calling function must call SysFreeString() to free the buffer.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.

Remarks

http://www.w3.org/TR/speech-grammar

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header inputscope.h
DLL Msctf.dll