IWorkspaceResTypeRegistry::GetRegisteredFileExtensions method

Retrieves the third-party file name extensions that are registered with the RemoteApp and Desktop Connections runtime.

Syntax

HRESULT GetRegisteredFileExtensions(
  VARIANT_BOOL fMachineWide,
  SAFEARRAY    **psaFileExtensions
);

Parameters

fMachineWide

Specifies whether the resource is registered per user or per machine.

VARIANT_TRUE

The resource is registered per machine.

VARIANT_FALSE

The resource is registered per user.

psaFileExtensions

The address of a pointer to a SAFEARRAY variable that receives an array of BSTRs that contain the registered file name extensions.

Return Value

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

Requirements

   
Windows version Windows 7 Windows Server 2008 R2
Target Platform Windows
Header workspaceax.h
DLL TSWorkspace.dll

See Also

IWorkspaceResTypeRegistry