IRdcLibrary::ComputeDefaultRecursionDepth method (msrdc.h)
The ComputeDefaultRecursionDepth method computes the maximum level of recursion for the specified file size. The depth returned by the method may be larger than MSRDC_MAXIMUM_DEPTH. The caller must compare the value returned through the depth parameter with MSRDC_MAXIMUM_DEPTH.
Syntax
HRESULT ComputeDefaultRecursionDepth(
[in] ULONGLONG fileSize,
[out] ULONG *depth
);
Parameters
[in] fileSize
The approximate size of the file.
[out] depth
Pointer to a ULONG that will receive the suggested maximum recursion depth.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | msrdc.h |
DLL | MsRdc.dll |