Gets the unique ID for the active keyboard.
KBDTools_API HRESULT GetKeyboardID(
TCHAR* str,
DWORD * len
);
str
Pointer in memory to retrieve the ID string.
len
Length of memory buffer pointer to str.
S_OK
The function succeeded.
Other
The function failed. Use the Microsoft errlook.exe utility to determine the meaning of this value.
When you call this function, it returns the unique keyboard ID in the form "model/idnum" or similar.
If str is NULL, then len is returned with the length needed to store the ID string.