IKnownFolder::GetRedirectionCapabilities method

Gets a value that states whether the known folder can have its path set to a new value or what specific restrictions or prohibitions are placed on that redirection.

Syntax

HRESULT GetRedirectionCapabilities(
  KF_REDIRECTION_CAPABILITIES *pCapabilities
);

Parameters

pCapabilities

Type: KF_REDIRECTION_CAPABILITIES*

When this method returns, contains a pointer to a KF_REDIRECTION_CAPABILITIES value that indicates the redirection capabilities for this folder.

Return value

Type: HRESULT

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

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also

IKnownFolder

Known Folders Sample