Exporteren (0) Afdrukken
Alles uitvouwen
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

IBitsPeerCacheRecord::GetFileRanges method

Gets the ranges of the file that are in the cache.

Syntax


HRESULT GetFileRanges(
  [out]  DWORD *pRangeCount,
  [out]  BG_FILE_RANGE **ppRanges
);

Parameters

pRangeCount [out]

Number of elements in ppRanges.

ppRanges [out]

Array of BG_FILE_RANGE structures that specify the ranges of the file that are in the cache. When done, call the CoTaskMemFree function to free ppRanges.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

 

Remarks

The method always returns at least one range (for the complete file). Multiple ranges can be returned if the application called IBackgroundCopyJob3::AddFileWithRanges to download one or more ranges of a file.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Bits3_0.h (include Bits.h)

IDL

Bits3_0.idl

Library

Bits.lib

See also

BG_FILE_RANGE
IBitsPeerCacheRecord

 

 

Community-inhoud

Toevoegen
Weergeven:
© 2015 Microsoft