IPackageDebugSettings::GetPackageExecutionState method
Returns the current execution state of the specified package.
Syntax
HRESULT GetPackageExecutionState(
[in] LPCWSTR packageFullName,
[out] PACKAGE_EXECUTION_STATE *packageExecutionState
);
Parameters
- packageFullName [in]
-
Type: LPCWSTR
The package full name.
- packageExecutionState [out]
-
Type: PACKAGE_EXECUTION_STATE*
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Debuggers can use the GetPackageExecutionState to understand if the application currently is running, suspending, suspended, or terminated. The GetPackageExecutionState function doesn't provide the state of background tasks running in the package.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also
Show: