IExtensibilityApplications::put_Capabilities Method

Specifies the capabilities of the shell.

Note   This method has been deprecated.

Syntax

  HRESULT put_Capabilities(
  SAFEARRAY  Capabilities
);

Parameters

Capabilities

[in]  Array of strings that specifies the capabilities to be asserted. The available values are "directx", "audio", "video", "intensiverendering", "console", and "cdburning".

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Remarks

The system's capabilities affect which entry points can run and which entry points are returned by the GetFilteredEntryPoints method.

Only include capabilities that are supported by the current session. For example, if the current session is running remotely on a display device rather than running locally, the "Console" capability should not be specified.

If no capabilities are specified, the default capabilities for Windows Media Center are assumed.

Requirements

Assembly: Ehextcom.dll

Platform: Windows XP Media Center Edition 2005 and later

See Also