Skip to main content
IDefaultFolderMenuInitialize::GetMenuRestrictions method

Syntax


HRESULT GetMenuRestrictions(
  [in]  DEFAULT_FOLDER_MENU_RESTRICTIONS dfmrMask,
  [out] DEFAULT_FOLDER_MENU_RESTRICTIONS *pdfmrValues
);

Parameters

dfmrMask [in]
pdfmrValues [out]

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

Shobjidl.h

IDL

Shobjidl.idl

See also

IDefaultFolderMenuInitialize
IDefaultFolderMenuInitialize::SetMenuRestrictions