172{
174
175 switch (ulStatusCode)
176 {
177 case BINDSTATUS_FINDINGRESOURCE:
178 if (!
This->bResolving)
179 {
182
184 }
185 break;
186
187 case BINDSTATUS_CONNECTING:
191 This->szMimeType[0] =
L'\0';
192 if (
This->bResolving)
193 {
196 }
197 else
198 {
200 }
201 break;
202
203 case BINDSTATUS_REDIRECTING:
208 This->szMimeType[0] =
L'\0';
210 break;
211
212 case BINDSTATUS_SENDINGREQUEST:
214 This->szMimeType[0] =
L'\0';
215 if (
This->bResolving ||
This->bConnecting)
217
218 if (!
This->bSendingReq)
220
222 break;
223
224 case BINDSTATUS_MIMETYPEAVAILABLE:
226 break;
227
228 case BINDSTATUS_BEGINDOWNLOADDATA:
231
232 if (
This->bSendingReq)
234
235 if (!
This->bBeginTransfer &&
This->Size != 0)
236 {
237 if (
This->szMimeType[0] !=
L'\0')
239 else
241 }
242
244
246 break;
247
248 case BINDSTATUS_ENDDOWNLOADDATA:
250 break;
251
252 case BINDSTATUS_DOWNLOADINGDATA:
255
257 break;
258 }
259
261}
unsigned long long UINT64
void ConPuts(FILE *fp, LPCWSTR psz)
void ConResPrintf(FILE *fp, UINT nID,...)
#define IDS_CONNECTING_TO_FULL
#define IDS_REDIRECTING_TO
#define IDS_CONNECTING_TO
static void CBindStatusCallback_UpdateProgress(CBindStatusCallback *This)
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)