mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:02:59 +00:00
[RAPPS] snapshot url support (#2925)
* [RAPPS] add snapshot url support * [RAPPS] fix snapshot prev window won't update if size not changed * [RAPPS] fix crash after cancel download * [RAPPS] show broken-img if failed to create file / make network request * [RAPPS] create a snapshots folder if it does not exist * [RAPPS] add a helper function to perform callback * [RAPPS] check bIsCancelled when handling ERROR_INVALID_HANDLE * [RAPPS] remove W suffix for AsyncInetDownload * [RAPPS] add assert for unknown event * [RAPPS] Improve AsyncInetDownload error handling * [RAPPS] move DisplayFailed to private, fix crash when cancelling * [RAPPS] check for ERROR_INTERNET_OPERATION_CANCELLED * [RAPPS] improve error logging * [RAPPS] remove \r in error logging * [RAPPS] rewrite AsyncInet
This commit is contained in:
parent
fbf119fde1
commit
e506581454
6 changed files with 735 additions and 40 deletions
|
@ -51,7 +51,7 @@ struct CAvailableApplicationInfo
|
|||
ATL::CStringW m_szUrlSite;
|
||||
ATL::CStringW m_szUrlDownload;
|
||||
ATL::CSimpleArray<LCID> m_LanguageLCIDs;
|
||||
ATL::CSimpleArray<ATL::CStringW> m_szSnapshotFilename;
|
||||
ATL::CSimpleArray<ATL::CStringW> m_szSnapshotLocation;
|
||||
|
||||
ULONG m_SizeBytes;
|
||||
|
||||
|
@ -100,10 +100,11 @@ typedef BOOL(CALLBACK *AVAILENUMPROC)(CAvailableApplicationInfo *Info, LPCWSTR s
|
|||
|
||||
class CAvailableApps
|
||||
{
|
||||
static AvailableStrings m_Strings;
|
||||
ATL::CAtlList<CAvailableApplicationInfo*> m_InfoList;
|
||||
|
||||
public:
|
||||
static AvailableStrings m_Strings;
|
||||
|
||||
CAvailableApps();
|
||||
|
||||
static BOOL UpdateAppsDB();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue