ICOMAdminCatalog::QueryApplicationFile method (comadmin.h)

Retrieves information about a COM+ application from an application file.

Syntax

HRESULT QueryApplicationFile(
  [in]  BSTR         bstrApplicationFile,
  [out] BSTR         *pbstrApplicationName,
  [out] BSTR         *pbstrApplicationDescription,
  [out] VARIANT_BOOL *pbHasUsers,
  [out] VARIANT_BOOL *pbIsProxy,
  [out] SAFEARRAY    **ppsaVarFileNames
);

Parameters

[in] bstrApplicationFile

The application file from which information is to be retrieved.

[out] pbstrApplicationName

The application name in the specified file.

[out] pbstrApplicationDescription

The application description.

[out] pbHasUsers

Indicates whether the application has user information associated with its roles.

[out] pbIsProxy

Indicates whether the file contains an application proxy.

[out] ppsaVarFileNames

An array of names of the DLL files for the components installed in the application.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comadmin.h

See also

ICOMAdminCatalog