VirtualBox

Changeset 40308 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Mar 1, 2012 7:50:29 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76557
Message:

VBOXSF: create a correct handle to avoid driver verifier bugcheck.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsf.c

    r40269 r40308  
    10551055         ConnectionName->Length / sizeof(WCHAR), ConnectionName->Buffer));
    10561056
     1057    /* Have to create a OBJ_KERNEL_HANDLE. Otherwise the driver verifier on Windows 7 bugchecks. */
    10571058    InitializeObjectAttributes(&ObjectAttributes,
    10581059                               ConnectionName,
    1059                                OBJ_CASE_INSENSITIVE,
     1060                               OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
    10601061                               NULL,
    10611062                               NULL);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette