Go to the source code of this file.
|
#define | EWFD_FILTER_LBL 1000 |
|
#define | EWFD_FILTER_EDIT 1001 |
|
#define | EWFD_MAC_NR_CB 1002 |
|
#define | EWFD_NET_NR_CB 1003 |
|
#define | EWFD_TRANS_NR_CB 1004 |
|
#define | EWFD_EXTERNAL_NR_CB 1005 |
|
#define | EWFD_PT_FORMAT 1006 |
|
#define | EWFD_PT_SIZE 1007 |
|
#define | EWFD_PT_START_ELAPSED 1008 |
|
#define | EWFD_PTX_FORMAT 1009 |
|
#define | EWFD_PTX_SIZE 1010 |
|
#define | EWFD_PTX_START_ELAPSED 1011 |
|
#define | EWFD_FORMAT_TYPE 1020 |
|
#define | EWFD_GZIP_CB 1040 |
|
#define | EWFD_CAPTURED_BTN 1000 |
|
#define | EWFD_DISPLAYED_BTN 1001 |
|
#define | EWFD_ALL_PKTS_BTN 1002 |
|
#define | EWFD_SEL_PKT_BTN 1003 |
|
#define | EWFD_MARKED_BTN 1004 |
|
#define | EWFD_FIRST_LAST_BTN 1005 |
|
#define | EWFD_RANGE_BTN 1006 |
|
#define | EWFD_RANGE_EDIT 1007 |
|
#define | EWFD_REMOVE_IGN_CB 1008 |
|
#define | EWFD_ALL_PKTS_CAP 1009 |
|
#define | EWFD_SEL_PKT_CAP 1010 |
|
#define | EWFD_MARKED_CAP 1011 |
|
#define | EWFD_FIRST_LAST_CAP 1012 |
|
#define | EWFD_RANGE_CAP 1013 |
|
#define | EWFD_IGNORED_CAP 1014 |
|
#define | EWFD_ALL_PKTS_DISP 1015 |
|
#define | EWFD_SEL_PKT_DISP 1016 |
|
#define | EWFD_MARKED_DISP 1017 |
|
#define | EWFD_FIRST_LAST_DISP 1018 |
|
#define | EWFD_RANGE_DISP 1019 |
|
#define | EWFD_IGNORED_DISP 1020 |
|
#define | EWFD_MERGE_PREPEND_BTN 1050 |
|
#define | EWFD_MERGE_CHRONO_BTN 1051 |
|
#define | EWFD_MERGE_APPEND_BTN 1052 |
|
#define | EWFD_PKT_FORMAT_GB 1050 |
|
#define | EWFD_PKT_SUMMARY_CB 1051 |
|
#define | EWFD_COL_HEADINGS_CB 1052 |
|
#define | EWFD_PKT_DETAIL_CB 1053 |
|
#define | EWFD_PKT_DETAIL_COMBO 1054 |
|
#define | EWFD_PKT_BYTES_CB 1055 |
|
#define | EWFD_DATA_SOURCES_CB 1056 |
|
#define | EWFD_PKT_NEW_PAGE_CB 1057 |
|
|
HANDLE | set_thread_per_monitor_v2_awareness (void) |
| set_thread_per_monitor_v2_awareness More...
|
|
void | revert_thread_per_monitor_v2_awareness (HANDLE context) |
| revert_thread_per_monitor_v2_awareness More...
|
|
bool | win32_open_file (HWND h_wnd, const wchar_t *title, GString *file_name, unsigned int *type, GString *display_filter) |
|
bool | win32_save_as_file (HWND h_wnd, const wchar_t *title, capture_file *cf, GString *file_name, int *file_type, wtap_compression_type *compression_type, bool must_support_comments) |
|
bool | win32_export_specified_packets_file (HWND h_wnd, const wchar_t *title, capture_file *cf, GString *file_name, int *file_type, wtap_compression_type *compression_type, packet_range_t *range) |
|
bool | win32_merge_file (HWND h_wnd, const wchar_t *title, GString *file_name, GString *display_filter, int *merge_type) |
|
void | win32_export_file (HWND h_wnd, const wchar_t *title, capture_file *cf, export_type_e export_type, const char *range) |
|
Native Windows file dialog routines
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 2006 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
◆ revert_thread_per_monitor_v2_awareness()
void revert_thread_per_monitor_v2_awareness |
( |
HANDLE |
context | ) |
|
revert_thread_per_monitor_v2_awareness
- Parameters
-
◆ set_thread_per_monitor_v2_awareness()
HANDLE set_thread_per_monitor_v2_awareness |
( |
void |
| ) |
|
set_thread_per_monitor_v2_awareness
Qt <= 5.9 supports setting old (Windows 8.1) per-monitor DPI awareness via Qt:AA_EnableHighDpiScaling. We do this in main.cpp. In order for native dialogs to be rendered correctly we need to set per-monitor v2 awareness prior to creating the dialog, which we can do here. Qt doesn't render correctly when per-monitor v2 awareness is enabled, so we need to revert our thread context when we're done.
- Returns
- The current thread DPI awareness context, which should be passed to revert_thread_per_monitor_v2_awareness.
◆ win32_export_file()
void win32_export_file |
( |
HWND |
h_wnd, |
|
|
const wchar_t * |
title, |
|
|
capture_file * |
cf, |
|
|
export_type_e |
export_type, |
|
|
const char * |
range |
|
) |
| |
Open the "Export" dialog box.
- Parameters
-
h_wnd | HWND of the parent window. |
cf | capture_file Structure for the capture to be saved |
export_type | The export type. |
range | a possible range |
◆ win32_export_specified_packets_file()
bool win32_export_specified_packets_file |
( |
HWND |
h_wnd, |
|
|
const wchar_t * |
title, |
|
|
capture_file * |
cf, |
|
|
GString * |
file_name, |
|
|
int * |
file_type, |
|
|
wtap_compression_type * |
compression_type, |
|
|
packet_range_t * |
range |
|
) |
| |
Open the "Export Specified Packets" dialog box.
- Parameters
-
h_wnd | HWND of the parent window. |
cf | capture_file Structure for the capture to be saved |
file_name | File name. May be empty. |
file_type | Wiretap file type. |
compression_type | Compression type to use, or uncompressed. |
range | Range of packets to export. |
- Returns
- true if packets were discarded when saving, false otherwise
◆ win32_merge_file()
bool win32_merge_file |
( |
HWND |
h_wnd, |
|
|
const wchar_t * |
title, |
|
|
GString * |
file_name, |
|
|
GString * |
display_filter, |
|
|
int * |
merge_type |
|
) |
| |
Open the "Merge" dialog box.
- Parameters
-
h_wnd | HWND of the parent window. |
file_name | File name |
display_filter | a display filter |
merge_type | type of merge |
◆ win32_open_file()
bool win32_open_file |
( |
HWND |
h_wnd, |
|
|
const wchar_t * |
title, |
|
|
GString * |
file_name, |
|
|
unsigned int * |
type, |
|
|
GString * |
display_filter |
|
) |
| |
Open the "Open" dialog box.
- Parameters
-
h_wnd | HWND of the parent window. |
file_name | File name |
type | File type |
display_filter | a display filter |
◆ win32_save_as_file()
bool win32_save_as_file |
( |
HWND |
h_wnd, |
|
|
const wchar_t * |
title, |
|
|
capture_file * |
cf, |
|
|
GString * |
file_name, |
|
|
int * |
file_type, |
|
|
wtap_compression_type * |
compression_type, |
|
|
bool |
must_support_comments |
|
) |
| |
Open the "Save As" dialog box.
- Parameters
-
h_wnd | HWND of the parent window. |
cf | capture_file Structure for the capture to be saved |
file_name | File name. May be empty. |
file_type | Wiretap file type. |
compression_type | Compression type to use, or uncompressed. |
must_support_comments | true if the file format list should include only file formats that support comments |
- Returns
- true if packets were discarded when saving, false otherwise