Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finalizes the internal buffer.
Syntax
virtual VOID SetResult(
DWORD cbData,
HRESULT hr
) = 0;
Parameters
cbData
A DWORD that contains the data size, in bytes, of the internal buffer.
hr
An HRESULT that indicates whether the internal buffer is valid.
Remarks
CGlobalModule derived classes that register for GL_RSCA_QUERY events receive an IGlobalRscaQueryProvider pointer as a parameter on the CGlobalModule::OnGlobalRSCAQueryvirtual method. You can then validate or invalidate the internal buffer by calling the SetResult method on the IGlobalRSCAQueryProvider pointer.
SetResult behavior depends on implementation. You should use the following information as a guideline, but it may not be correct in all scenarios:
The
IGlobalRSCAQueryProviderimplementer declaresprivatemember variables for the size of an internal buffer, anHRESULTthat indicates whether the buffer is valid, and a Boolean flag that indicates whetherSetResulthas been called. The default values at construction of the implementer are 0, E_NOTIMPL, andfalse, respectively.After you call the GetOutputBuffer or ResizeOutputBuffer method, call
SetResultto validate or invalidate the internal buffer by passing the size of the buffer, in bytes, and anHRESULTvalue that indicates whether the buffer is valid.Important This method is part of the IIS 7 infrastructure and is not intended to be used directly from your code.
Requirements
| Type | Description |
|---|---|
| Client | - IIS 7.0 on Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on Windows Server 2008 - IIS 7.5 on Windows Server 2008 R2 - IIS 8.0 on Windows Server 2012 - IIS 8.5 on Windows Server 2012 R2 - IIS 10.0 on Windows Server 2016 |
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - IIS Express 7.5, IIS Express 8.0, IIS Express 10.0 |
| Header | Httpserv.h |