Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPackageDebugSettings::GetPackageExecutionState method

Gets the execution state for the processes 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*

A pointer to a variable that receives a PACKAGE_EXECUTION_STATE-typed value that indicates the execution state. Here are possible values:

PES_UNKNOWN (0)
PES_RUNNING (1)
PES_SUSPENDING (2)
PES_SUSPENDED (3)
PES_TERMINATED (4)

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

Shobjidl.idl

See also

IPackageDebugSettings

 

 

Show:
© 2017 Microsoft