 |
GetKeyNameText Add comment W32 Constants Translate this page |
 |
 |
|
The GetKeyNameText function retrieves a string that represents the name of a key. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
int GetKeyNameText(
LONG lParam,
LPTSTR lpString,
int nSize
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetKeyNameText IN user32;
INTEGER lParam,;
STRING @ lpString,;
INTEGER nSize
|
 |
 |
 |
| Parameters: |
 |
lParam
[in] Specifies the second parameter of the keyboard message (such as WM_KEYDOWN) to be processed.
lpString
[out] Pointer to a buffer that will receive the key name.
nSize
[in] Specifies the maximum length, in TCHAR, of the key name, including the terminating null character. |
 |
 |
| Return value: |
 |
| If the function succeeds, a null-terminated string is copied into the specified buffer, and the return value is the length of the string, in TCHAR, not counting the terminating null character. |
 |
 |
| Word Index links for the GetKeyNameText : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-07-09 16:05:26 | | Modified: | 2004-07-09 16:08:55 | Visited in last 7 days: 14 |