Sets the maximum depth of nested archives to be unpacked during scanning. By default, the maximum nesting level is not limited.
If the archive to scan has the greater nesting level than the specified value, the EVENT_MAX_DEPTH_EXCEEDED callback event is raised. For other callback events, see section "Event notification codes".
Syntax
HRESULT kaveSetMaxDepth (
unsigned long dwMaxDepth);
Parameters
The kaveSetMaxDepth function has the following parameters.
kaveSetMaxDepth function parameters
Name |
Type |
Description |
|---|---|---|
|
in |
The new value for the maximum nesting level. To specify the infinite nesting level, set the |
Return value
If the kaveSetMaxDepth function succeeds, its return value is S_OK.
For other return codes, see section "Return codes".
Page top