Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/rarfilesource.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/RFS.h
diff options
context:
space:
mode:
Diffstat (limited to 'RFS.h')
-rw-r--r--RFS.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/RFS.h b/RFS.h
index 6767b58..9f168aa 100644
--- a/RFS.h
+++ b/RFS.h
@@ -21,6 +21,12 @@
#define RARFileSourceName L"RAR File Source"
+#define RFS_E_ABORT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x200)
+#define RFS_E_NO_FILES MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x201)
+#define RFS_E_COMPRESSED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x202)
+#define RFS_E_ENCRYPTED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x203)
+#define RFS_E_MISSING_VOLS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x204)
+
typedef struct
{
const char *extension;
@@ -54,7 +60,7 @@ public:
private:
static void UpdateArchiveName (wchar_t *ext, size_t len, int volume, bool new_numbering);
- int ScanArchive (wchar_t *archive_name, CRFSList<CRFSFile> *file_list, int *known_files_found);
+ HRESULT ScanArchive (wchar_t *archive_name, CRFSList<CRFSFile> *file_list, int *files_found, int *known_files_found);
static INT_PTR CALLBACK DlgFileList (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
CRFSOutputPin m_pin;