IUIFramework2::GetUICommandCategory method

Retrieves the category of the Command.

Syntax


HRESULT GetUICommandCategory(
  [in]   UINT32 commandId,
  [out]  UI_COMMANDCATEGORY *commandCategory
);

Parameters

commandId [in]

The ID for the Command, which is specified in the markup resource file.

commandCategory [out]

When this method returns, contains a pointer to the Command category.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

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

See also

IUIFramework2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft