Enumerates background tasks for the processes of the specified package.
HRESULT EnumerateBackgroundTasks( [in] LPCWSTR packageFullName, [out] ULONG *taskCount, [out] LPCGUID *taskIds, [out] LPCWSTR **taskNames );
- packageFullName [in]
The package full name.
- taskCount [out]
A pointer to a variable that receives the number of background tasks that were enumerated.
- taskIds [out]
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]
A pointer to memory space that receives a pointer to the string of names for all of the background tasks that were enumerated.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Minimum supported client
Minimum supported server
|Windows Server 2012|
Build date: 11/16/2013