This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Use the following function to delay load the WinFsp DLL | |
* directly from the WinFsp installation directory. | |
* | |
* You will also need to update your project settings: | |
* - Linker > Input > Delay Loaded DLL's: winfsp-$(PlatformTarget).dll | |
* | |
* Written by Bill Zissimopoulos, 2017. Released to the public domain. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
import os, sys | |
preload = 1 | |
for arg in sys.argv[1:]: | |
if "--all" == arg or "--almost-all" == arg: | |
preload = 0 | |
elif arg.startswith("-") and ("a" in arg or "A" in arg): | |
preload = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This gist contains random WSL Notes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma push_macro("STATUS_SUCCESS") | |
#undef STATUS_SUCCESS | |
static const NTSTATUS STATUS_SUCCESS = (NTSTATUS)0x00000000; | |
#pragma pop_macro("STATUS_SUCCESS") | |
#pragma push_macro("STATUS_WAIT_1") | |
#undef STATUS_WAIT_1 | |
static const NTSTATUS STATUS_WAIT_1 = (NTSTATUS)0x00000001; | |
#pragma pop_macro("STATUS_WAIT_1") | |
#pragma push_macro("STATUS_WAIT_2") | |
#undef STATUS_WAIT_2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vista+: | |
Session 0: Services only | |
\Sessions\0\DosDevices\{LUID} | |
Global -> \GLOBAL?? | |
\Sessions\0\BaseNamedObjects -> \BaseNamedObjects | |
Global -> \BaseNamedObjects | |
Local -> \BaseNamedObjects | |
Session -> \Sessions\BNOLINKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/inc/winfsp/launch.h b/inc/winfsp/launch.h | |
index 112ee251..4a029316 100644 | |
--- a/inc/winfsp/launch.h | |
+++ b/inc/winfsp/launch.h | |
@@ -292,7 +292,8 @@ typedef struct _FSP_LAUNCH_REG_RECORD | |
ULONG Credentials; | |
ULONG AuthPackageId; | |
ULONG Recovery; | |
- ULONG Reserved1[4]; | |
+ ULONG VolumePrefixComponentCount; |