check windows 10 s mode policy enforcement and disable wintab dll, implement windows ink

This commit is contained in:
2018-10-13 15:58:24 +02:00
parent ce344126be
commit da5041b187
5 changed files with 192 additions and 37 deletions

View File

@@ -61,7 +61,9 @@ BOOL LoadWintab( void )
{
// ghWintab = LoadLibraryA( "C:\\dev\\mainline\\Wacom\\Win\\Win32\\Debug\\Wacom_Tablet.dll" );
// ghWintab = LoadLibraryA( "C:\\dev\\mainline\\Wacom\\Win\\Win32\\Debug\\Wintab32.dll" );
ghWintab = LoadLibraryA( "Wintab32.dll" );
LOG("calling LoadLibrary");
ghWintab = LoadLibrary(L"Wintab32.dll");
LOG("LoadLibrary called");
if ( !ghWintab )
{
@@ -71,6 +73,8 @@ BOOL LoadWintab( void )
return FALSE;
}
LOG("WinTab found");
// Explicitly find the exported Wintab functions in which we are interested.
// We are using the ASCII, not unicode versions (where applicable).
GETPROCADDRESS( WTOPENA, WTOpenA );