ISoftKbd::CreateSoftKeyboardLayoutFromXMLFile method

The ISoftKbd::CreateSoftKeyboardLayoutFromXMLFile method creates a soft keyboard layout from the specified XML file.

Syntax

HRESULT CreateSoftKeyboardLayoutFromXMLFile(
  [in]  WCHAR *lpszKeyboardDesFile,
  [in]  INT   szFileStrLen,
  [out] DWORD *pdwLayoutCookie
);

Parameters

lpszKeyboardDesFile [in]

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

szFileStrLen [in]

Zero-terminated string indicating the length of the XML file.

pdwLayoutCookie [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::CreateSoftKeyboardLayoutFromResource