OleDestroyMenuDescriptor function (ole2.h)

Called by the container to free the shared menu descriptor allocated by the OleCreateMenuDescriptor function.

Syntax

HRESULT OleDestroyMenuDescriptor(
  [in] HOLEMENU holemenu
);

Parameters

[in] holemenu

Handle to the shared menu descriptor that was returned by the OleCreateMenuDescriptor function.

Return value

This function does not return a value.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ole2.h
Library Ole32.lib
DLL Ole32.dll
API set ext-ms-win-com-ole32-l1-1-3 (introduced in Windows 10, version 10.0.10240)

See also

OleCreateMenuDescriptor