IImmersiveUIHandlerSite::AddSuspensionExemption method

Adds a suspension exemption for the hosting tab of the ActiveX control and returns a cookie to be used to remove the exemption.

Syntax

HRESULT AddSuspensionExemption(
  [out, retval] ULONGLONG *pullCookie
);

Parameters

Return value

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

Remarks

AddSuspensionExemption allows controls doing background work, such as playing audio, to be exempt from being suspended.

See also

IImmersiveUIHandlerSite

IImmersiveUIHandlerSite