IComponent::Destroy method (mmc.h)

The IComponent::Destroy method releases all references to the console that are held by this component.

Syntax

HRESULT Destroy(
  MMC_COOKIE cookie
);

Parameters

cookie

Reserved for future use.

Return value

This method can return one of these values.

Remarks

The snap-in is in the process of being unloaded. It should release all references to the console contained by the component.

Notes to Callers

Only the console calls this method.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h

See also

IComponent