SHStripMneumonic function
[This function is available through Windows XP and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows.]
Removes the mnemonic marker from a string.
Syntax
TCHAR SHStripMneumonic( _Inout_ LPTSTR *pszMenu );
Parameters
- pszMenu [in, out]
-
Type: LPTSTR*
A pointer to the null-terminated string that contains the mnemonic marker.
Return value
Type: TCHAR
Returns the mnemonic character, if one was found. Otherwise, returns 0.
Remarks
The term "mnemonic" is misspelled in the function name.
The function supports the following mnemonic formats.
Input String | Output String | Mnemonic Character | Remarks |
---|---|---|---|
"Str&ing" | "String" | 'i' | None. |
"String (&S)" | "String" | 'S' | Supported only by the Unicode version of this function. Requires Windows XP or later. |
Requirements
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
---|---|
Minimum supported server |
Windows 2000 Server, Windows Server 2003 [desktop apps only] |
Header |
|
DLL |
|
Unicode and ANSI names |
SHStripMneumonicW (Unicode) and SHStripMneumonicA (ANSI) |
See also