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::EnumerateBackgroundTasks method

Enumerates background tasks for the processes of the specified package.

Syntax


HRESULT EnumerateBackgroundTasks(
  [in]  LPCWSTR packageFullName,
  [out] ULONG   *taskCount,
  [out] LPCGUID *taskIds,
  [out] LPCWSTR **taskNames
);

Parameters

packageFullName [in]

Type: LPCWSTR

The package full name.

taskCount [out]

Type: ULONG*

A pointer to a variable that receives the number of background tasks that were enumerated.

taskIds [out]

Type: LPCGUID*

A pointer to memory space that receives a pointer to the array of IDs that represent all of the background tasks that were enumerated.

taskNames [out]

Type: LPCWSTR**

A pointer to memory space that receives a pointer to the string of names for all of the background tasks that were enumerated.

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