Hi,
On 9/9/21 4:45 PM, Xu Wei wrote:
- DefineDosDeviceW( DDD_EXACT_MATCH_ON_REMOVE|DDD_RAW_TARGET_PATH|DDD_REMOVE_DEFINITION,
"{00000001-0000-0000-0000-4E6574446576}",
"\\Device\\{00000001-0000-0000-0000-4E6574446576}" );
You are passing char* into an unicode function.
Also in order to avoid the test crash on Linux testbot, you might want to reverse the order of your tests and your fix.