ICreateProcessInputs::SetHotKey method (shobjidl_core.h)
Sets the hot key for the application.
Syntax
HRESULT SetHotKey(
[in] WORD wHotKey
);
Parameters
[in] wHotKey
The hotkey to assign to the application. See the documentation of the hStdIn member of the STARTUPINFO structure for more information.
Return value
S_OK if the method succeeds. Otherwise, an HRESULT error code.
Remarks
This method also sets the STARTF_USEHOTKEY flag in the dwFlags member of the STARTUPINFO structure passed to CreateProcess.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για