FileAssociations method of the Win32_TSApplicationFileExtensions class

Scans the registry to get the current file associations for an application.

Syntax


uint32 FileAssociations(
  [in]  string                  AppPath,
  [out] Win32_RDFileAssociation FileAssociations[]
);

Parameters

AppPath [in]

Specifies the path to the application.

FileAssociations [out]

On successful completion contains the file associations for this application.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

Root\CIMv2\TerminalServices

MOF

TsAllow.mof

DLL

TsPubWmi.dll

See also

Win32_TSApplicationFileExtensions
Win32_RDFileAssociation

 

 

Show: