Skip to content

Latest commit

 

History

History
75 lines (60 loc) · 2.48 KB

nf-searchapi-iurlaccessor-getsize.md

File metadata and controls

75 lines (60 loc) · 2.48 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:searchapi.IUrlAccessor.GetSize
IUrlAccessor::GetSize (searchapi.h)
Gets the size of the content designated by the URL.
GetSize
GetSize method [search]
GetSize method [search]
IUrlAccessor interface
IUrlAccessor interface [search]
GetSize method
IUrlAccessor.GetSize
IUrlAccessor::GetSize
_search_IUrlAccessor_GetSize
search._search_IUrlAccessor_GetSize
searchapi/IUrlAccessor::GetSize
search\_search_IUrlAccessor_GetSize.htm
search
VS|search|~\search\wds3x\reference\ifaces\protocolhandlers\iurlaccessor\getsize.htm
12/05/2018
GetSize, GetSize method [search], GetSize method [search],IUrlAccessor interface, IUrlAccessor interface [search],GetSize method, IUrlAccessor.GetSize, IUrlAccessor::GetSize, _search_IUrlAccessor_GetSize, search._search_IUrlAccessor_GetSize, searchapi/IUrlAccessor::GetSize
searchapi.h
Windows
Windows XP with SP2, Windows Vista [desktop apps only]
Windows Server 2003 with SP1 [desktop apps only]
Urlaccsdk.idl
Windows
Windows Desktop Search (WDS) 3.0
19H1
IUrlAccessor::GetSize
searchapi/IUrlAccessor::GetSize
c++
APIRef
kbSyntax
COM
Searchapi.h
IUrlAccessor.GetSize

IUrlAccessor::GetSize

-description

Gets the size of the content designated by the URL.

-parameters

-param pllSize [out]

Type: ULONGLONG*

Receives a pointer to the number of bytes of data contained in the URL.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

The value calculated in this method is a factor in determining limitations on IFilter output size. This method should return 0 for containers if the protocol implementation is for a hierarchical content source.

Implement this method for non-files by returning the size of the document to be indexed. For example, to index a database where each row is a document, return the best estimate of the size of the row.