libwtcdb(3)
π
libwtcdb(3) β the WTCDB library, but make it group chat π
okay so bestie, welcome to libwtcdb(3) β yes, the manual name is folded right in here, no boring header copy-paste energy β and this is all about libwtcdb.h, the library to access the Windows Explorer thumbnail cache database (WTCDB) format. Literally the whole vibe. π
π NAME π
libwtcdb.h β Library to access the Windows Explorer thumbnail cache database (WTCDB) format. That's the name, that's the game, no cap. β¨
π SYNOPSIS π
First things first, bestie:
#include <libwtcdb.h>
π«Ά Support functions
const char *
libwtcdb_get_version(void);
int
libwtcdb_get_access_flags_read(void);
int
libwtcdb_get_codepage(int *codepage, libwtcdb_error_t **error);
int
libwtcdb_set_codepage(int codepage, libwtcdb_error_t **error);
int
libwtcdb_check_file_signature(const char *filename,
libwtcdb_error_t **error);
Available when compiled with wide character string support:
int
libwtcdb_check_file_signature_wide(const wchar_t *filename,
libwtcdb_error_t **error);
Available when compiled with libbfio support:
int
libwtcdb_check_file_signature_file_io_handle(libbfio_handle_t *file_io_handle,
libwtcdb_error_t **error);
π Notify functions
void
libwtcdb_notify_set_verbose(int verbose);
int
libwtcdb_notify_set_stream(FILE *stream, libwtcdb_error_t **error);
int
libwtcdb_notify_stream_open(const char *filename,
libwtcdb_error_t **error);
int
libwtcdb_notify_stream_close(libwtcdb_error_t **error);
π Error functions
void
libwtcdb_error_free(libwtcdb_error_t **error);
int
libwtcdb_error_fprint(libwtcdb_error_t *error, FILE *stream);
int
libwtcdb_error_sprint(libwtcdb_error_t *error, char *string,
size_t size);
int
libwtcdb_error_backtrace_fprint(libwtcdb_error_t *error, FILE *stream);
int
libwtcdb_error_backtrace_sprint(libwtcdb_error_t *error, char *string,
size_t size);
ποΈ File functions
int
libwtcdb_file_initialize(libwtcdb_file_t **file,
libwtcdb_error_t **error);
int
libwtcdb_file_free(libwtcdb_file_t **file, libwtcdb_error_t **error);
int
libwtcdb_file_signal_abort(libwtcdb_file_t *file,
libwtcdb_error_t **error);
int
libwtcdb_file_open(libwtcdb_file_t *file, const char *filename,
int access_flags, libwtcdb_error_t **error);
int
libwtcdb_file_close(libwtcdb_file_t *file, libwtcdb_error_t **error);
int
libwtcdb_file_get_type(libwtcdb_file_t *file, uint8_t *type,
libwtcdb_error_t **error);
int
libwtcdb_file_get_number_of_items(libwtcdb_file_t *file,
int *number_of_items, libwtcdb_error_t **error);
int
libwtcdb_file_get_item(libwtcdb_file_t *file, int item_index,
libwtcdb_item_t **item, libwtcdb_error_t **error);
Available when compiled with wide character string support:
int
libwtcdb_file_open_wide(libwtcdb_file_t *file, const wchar_t *filename,
int access_flags, libwtcdb_error_t **error);
Available when compiled with libbfio support:
int
libwtcdb_file_open_file_io_handle(libwtcdb_file_t *file,
libbfio_handle_t *file_io_handle, int access_flags,
libwtcdb_error_t **error);
πΈ Item functions
int
libwtcdb_item_free(libwtcdb_item_t **item, libwtcdb_error_t **error);
π DESCRIPTION π
The libwtcdb_get_version() function is used to retrieve the library version. That's it, that's the description, bestie β it's giving βone job and it absolutely ate.β β¨
π₯ RETURN VALUES π₯
Most of the functions return NULL or -1 on error, dependent on the return type. For the actual return values see "libwtcdb.h". So like, don't guess the returns, check the header, iykyk. π
πΏ ENVIRONMENT πΏ
None. Literally none, bestie. π
π FILES π
None. Same energy, no files here. π
π§ NOTES π§
libwtcdb can be compiled with wide character support (wchar_t). That's the tea. π¦
To compile libwtcdb with wide character support use:
./configure --enable-wide-character-type=yes
or define _UNICODE or UNICODE during compilation.
LIBWTCDB_WIDE_CHARACTER_TYPE in libwtcdb/features.h can be used to determine if libwtcdb was compiled with wide character support. Very check-the-features-of-it-all, no cap. π₯
π BUGS π
Please report bugs of any kind on the project issue tracker: https://github.com/libyal/libwtcdb/issues β they want the receipts, bestie, any kind of bug. π«Ά
π AUTHOR π
These man pages are generated from "libwtcdb.h". Iconic source material, honestly. β¨
π COPYRIGHT π
Copyright (C) 2010-2024, Joachim Metz <joachim.metz@gmail.com>.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Like, none. Not even a little. π
π SEE ALSO π
- the
libwtcdb.hinclude file
xoxo bestie π
β this page is from the libwtcdb manual, dated July 29, 2019, and that's the libwtcdb(3) sign-off energy. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: libwtcdb-devel 20240518-bp160.1.13 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: libwtcdb-devel 20240518-bp160.1.13 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: libwtcdb-devel 20240518-bp160.1.13 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: libwtcdb-devel 20240518-bp160.1.13 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms