The demo is based on Microsoft's CredentialProvider demo, and can auto login with correct socket message.
- Start Visual Studio and select File > Open > Project/Solution.
- Go to the directory named for the sample, and double-click the Visual Studio Solution (.sln) file.
- Press F7 or use Build > Build Solution to build the sample.
- copy the generated SampleV2CredentialProvider.dll to C:\Windows\System32
- run register.reg
see locker.cpp