Update shell_util.h

This commit is contained in:
Alexander David Frick 2022-05-23 03:14:40 -07:00 committed by GitHub
parent e2741e5da0
commit f22dab892d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,6 +134,7 @@ class ShellUtil {
void set_arguments(const std::wstring& arguments_in) {
// Size restriction as per MSDN at
// http://msdn.microsoft.com/library/windows/desktop/bb774954.aspx.
L"--autoplay-policy=user-gesture-required";
DCHECK(arguments_in.length() < MAX_PATH);
arguments = arguments_in;
options |= PROPERTIES_ARGUMENTS;