Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
-
Header File
shlobj.h
Unicode
No
Platform Notes
None

IShellLink::GetHotkey

[Now Supported on Windows NT]

Retrieves the hot key for a shell link object.

HRESULT STDMETHODCALLTYPE GetHotkey(

ISHELLLINK FAR *pShlLnk,

WORD *pwHotkey

);

Parameters

pShlLnk

Pointer to the IShellLink interface. In C++, this parameter is implicit.

pwHotkey

Pointer to the hot key. The virtual-key code is in the low-order byte, and the modifier flags are in the high-order byte. The modifier flags can be a combination of the following values:

HOTKEYF_ALT
ALT key
HOTKEYF_CONTROL
CTRL key
HOTKEYF_EXT
Extended key
HOTKEYF_SHIFT
SHIFT key

Return Values

Returns NOERROR if successful or an OLE-defined error value otherwise.

See Also

IShellLink

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database