]> wimlib.net Git - wimlib/blobdiff - src/win32_apply.c
Win32: compile
[wimlib] / src / win32_apply.c
index 1a4adf5c3736622ae8bc623e16f4203f84afc80d..c8f65ef0e2db218c4a1ba203c04900497bcee6af 100644 (file)
@@ -195,7 +195,7 @@ win32_extract_stream(const wchar_t *path, const wchar_t *stream_name,
        ret = 0;
        if (!lte)
                goto out_close_handle;
-       ret = extract_wim_resource(lte, lte->size, win32_extract_wim_chunk, h);
+       ret = extract_stream(lte, lte->size, win32_extract_wim_chunk, h);
 out_close_handle:
        if (!CloseHandle(h))
                goto error;
@@ -240,7 +240,7 @@ win32_encrypted_import_cb(unsigned char *data, void *_import_ctx,
 
        len = min(len, lte->size - import_ctx->offset);
 
-       if (read_partial_wim_resource_into_buf(lte, len, import_ctx->offset, data))
+       if (read_partial_wim_stream_into_buf(lte, len, import_ctx->offset, data))
                return ERROR_READ_FAULT;
 
        import_ctx->offset += len;