IUIFramework2::GetUICommandName method
Retrieves the ID of the Command.
HRESULT GetUICommandName(
[in] LPWSTR commandName,
[out] UINT32 *commandId
);
commandName [in]
The Command name.commandId [out]
When this method returns, contains a pointer to the Command ID that is associated with commandName. The Command ID is specified in the markup resource file or dynamically at run time.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Header |
Uiribbon.h |
IDL |
Uiribbon.idl |
DLL |
Uiribbon.dll |