GetRunningProcessForSite
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]
bstrSite
The name of the site.
[in]
bstrApplication
The name of the application.
[in]
bstrApplicationPool
The name of the application pool.
[in]
bstrConfigPath
The path to the configuration files.
[out, retval]
* pdwPid
The process ID of the worker process.
Return Value
HRESULT
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for