i was implemented ICredentialProviderFilter in my custom credential provider it is switch user button not showing. ie: it is showing only my custom credential provider it is not showing my other credentials please help me anyone
Hi, I have a C file which contains a simple DbgPrint in DriverEntry but, when I build my project, I get 9 errors like C:\drvtest\src\testdriver.c : error CS2059: Syntax Error : ';'
C:\drvtest\src\testdriver.c : error CS2059: Syntax Error : 'type'
C:\drvtest\src\testdriver.c : error CS2059: Syntax Error : identifier DriverDispatch
Good job you cant build it because it will BSOD anyway.
You need to do this for starters in DriverEntry:
for (Index = 0 ; Index <= IRP_MJ_MAXIMUM_FUNCTION ; Index++)
DriverObject->MajorFunction[Index] = MyDispatch;
DriverObject->DriverExtension->AddDevice = 0; // non PnP so dont set this
DriverObject->DriverUnload = MyUnload;
Your MyDispatch actually needs to do something with the Irps, set Information to 0, the status block to success and return success.
If you use a DLL, that DLL is loaded into your WinRT process space and shares the same security context as the WinRT apps. In other words, you cannot 'escape the sandbox' via a DLL.
Unfortunately, I have no experience with programming WinRT, so I can not present you with a solution, only an answer as to why this will not work.