IUIFramework2::GetUICommandName method
Retrieves the name of the Command.
HRESULT GetUICommandName(
[in] UINT32 commandId,
[out] LPWSTR *commandName
);
commandId [in]
The ID for the Command, which is specified in the markup resource file or dynamically at run time.commandName [out]
When this method returns, contains a pointer to the Command name that is associated with commandId.
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 |