Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the process ID of the worker process when the parameters of this function match the parameters for the current user specified by the ConstructCommandLine function.
Syntax
HRESULT
GetRunningProcessForSite(
[in] BSTR bstrSite,
[in] BSTR bstrApplication,
[in] BSTR bstrApplicationPool,
[in] BSTR bstrConfigPath,
[out, retval] DWORD * pdwPid
);
Parameters
[in]
bstrSiteThe name of the site.
[in]
bstrApplicationThe name of the application.
[in]
bstrApplicationPoolThe name of the application pool.
[in]
bstrConfigPathThe path to the configuration files.
[out, retval]
* pdwPidThe process ID of the worker process.
Return Value
HRESULT