static void
win32_acquire_capture_and_apply_privileges(void)
{
- win32_modify_capture_privileges(true);
+ win32_modify_capture_and_apply_privileges(true);
}
static void
win32_release_capture_and_apply_privileges(void)
{
- win32_modify_capture_privileges(false);
+ win32_modify_capture_and_apply_privileges(false);
}
HANDLE
void
win32_global_init(int init_flags)
{
- DWORD err;
-
/* Try to acquire useful privileges. */
if (!(init_flags & WIMLIB_INIT_FLAG_DONT_ACQUIRE_PRIVILEGES)) {
win32_acquire_capture_and_apply_privileges();
win32func_FindFirstStreamW = NULL;
}
}
-
}
void