ISoftKbd::CreateSoftKeyboardLayoutFromResource method

The ISoftKbd::CreateSoftKeybboardLayoutFromResource method creates a soft keyboard layout from the specified resource.

Syntax

HRESULT CreateSoftKeyboardLayoutFromResource(
  [in]  WCHAR *lpszResFile,
  [in]  WCHAR *lpszResType,
  [in]  WCHAR *lpszXMLResString,
  [out] DWORD *lpdwLayoutCookie
);

Parameters

lpszResFile [in]

Pointer to a zero-terminated string indicating the name of the resource file.

lpszResType [in]

Pointer to a zero-terminated string indicating the type of resource.

lpszXMLResString [in]

Pointer to a zero-terminated string identifying the resource.

lpdwLayoutCookie [out]

Pointer to the buffer in which this method retrieves a soft keyboard layout cookie.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
One or more parameters are invalid.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Redistributable
TSF 1.0 on Windows 2000 Professional
Header
Softkbdc.h
IDL
Softkbd.idl
DLL
Softkbd.dll

See also

ISoftKbd

ISoftKbd::CreateSoftKeyboardLayoutFromXMLFile

ISoftKbd::ShowSoftKeyboard