Export (0) Print
Expand All

IRdcLibrary::ComputeDefaultRecursionDepth method

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

fileSize [in]

The approximate size of the file.

depth [out]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003 R2

Header

MsRdc.h

IDL

MsRdc.idl

Type library

MsRdc.dll

DLL

MsRdc.dll

See also

IRdcLibrary

 

 

Show:
© 2014 Microsoft