RequireNetworkDuringMediaTaskCompletion function (comppkgsup.h)
Increments or decrements the count of network connections required for media task completion.
Syntax
HRESULT RequireNetworkDuringMediaTaskCompletion(
BOOL requireNetwork,
[out, optional] DWORD *requireCount
);
Parameters
requireNetwork
If true is specified, the system's count of required network connections is incremented by one. If false is specified, the system's count of required network connections is decremented by one.
[out, optional] requireCount
When provided, this parameter is populated with the current number of required network connections tracked by the system.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | comppkgsup.h |
Library | Comppkgsup.lib |
DLL | CompPkgSup.dll |