X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;ds=sidebyside;f=include%2Fwimlib%2Fwimboot.h;h=10857d5b64680be085e6d5afc508613e2092a94d;hb=8b676e7d340fb8197824745eb387e1d3154e6f60;hp=afb6e65e552fd0a4b68ead8ad47f88a167983fb2;hpb=2d14d2982e057b2d99128c20c9768985bdfcd0a0;p=wimlib diff --git a/include/wimlib/wimboot.h b/include/wimlib/wimboot.h index afb6e65e..10857d5b 100644 --- a/include/wimlib/wimboot.h +++ b/include/wimlib/wimboot.h @@ -1,23 +1,24 @@ #ifndef _WIMBOOT_H_ #define _WIMBOOT_H_ +#include "wimlib/header.h" #include "wimlib/sha1.h" #include "wimlib/types.h" -#include "wimlib/header.h" +#include "wimlib/win32_common.h" -struct wim_lookup_table_entry; +struct blob_descriptor; extern int wimboot_alloc_data_source_id(const wchar_t *wim_path, - const u8 guid[WIM_GUID_LEN], int image, + const u8 guid[GUID_SIZE], int image, const wchar_t *target, u64 *data_source_id_ret, bool *wof_running_ret); -extern int -wimboot_set_pointer(const wchar_t *path, - const struct wim_lookup_table_entry *lte, +extern bool +wimboot_set_pointer(HANDLE h, + const struct blob_descriptor *blob, u64 data_source_id, - const u8 lookup_table_hash[SHA1_HASH_SIZE], + const u8 blob_table_hash[SHA1_HASH_SIZE], bool wof_running);