Range: Demonstrate Http Read Range

Click to open or copy the Range project files.

This sample is intended primarily to demonstrate http read range, but can also be used for simple GET requests without ranges. Application writers may be interested in plugging into the interface defined in Range.h, using one C call to initiate the request and one C callback to receive status and data.

Other interesting aspects of this sample include the following:

Urlmon

Wininet

Building SDK Samples

This sample demonstrates the following keywords:

abort; addref; bindtostorage; bufalloc; bufbeg; bufreset; bufshift; bufsize; bufspace; casemsg; coinitialize; couninitialize; createasyncbindctx; createurlmoniker; curlmoncallback; failed; getbindinfo; getclientsite; getcontainer; getcurrentthreadid; getpriority; grokint; grokstr; isdigit; isequalguid; min; multibytetowidechar; ondataavailable; onlowresource; onobjectavailable; onprogress; onstartbinding; onstopbinding; parsemultipartheader; queryinterface; recvbuf; release; stdmethodimp_; succeeded; switch; upcase;