mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-14 04:38:26 +10:00
Some branding and licensing work (#22)
* Fix stdafx include * Fix basic handling of "Games" folder on Windows10 RS4 (#10) This does the following: - Sets the default state to hidden - Skips the Games folder when searching This does not: - Hide the dead menu entry. I do not currently know how to actively change the user preference setting to forcefully hide it. * Add basic Visual Studio gitignore * Add specific entries to gitignore * Do not set default menu to Win7 on RS4 (#10) * Rename "PC Settings" to "Settings" (#12) * Create distinction between modern and legacy settings in search results * Add more build artifacts to gitignore * Add default paths for toolset and build all languages * Fix several memsize, memtype and nullpointer issues * create trunk branch containing all changes * set fallback and next version to 4.3.2, set resource fallback value to allow loading in IDE * add generated en-US.dll to gitignore * Don't echo script contents, add disabled "git clean -dfx" to build fresh * Initial re-branding work (#21) * Create copy of __MakeFinal to build all languages (Use this file when releasing new versions) * Move the registry key IvoSoft->Passionate-Coder (#21) * Change company/mfg name IvoSoft->Passionate-Coder (#21) * Update some leftover copyright dates (#21) * Fix accidental copy-paste breaking MakeFinal scripts * Fix invalid company name for Wix and change registry keys to match the new string (#21) * Update more copyright and legal text (#21) * Update RTF files format (Wordpad generated those) (#21) * update license text in RTF files (#21) We lost the blue link text in the installer page. Will have to manually re-color all the links later.
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
// Classic Shell (c) 2009-2017, Ivo Beltchev
|
||||
// Classic Start (c) 2017-2018, The Passionate-Coder Team
|
||||
// Confidential information of Ivo Beltchev. Not for disclosure or distribution without prior written consent from the author
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "TouchHelper.h"
|
||||
|
||||
typedef BOOL (WINAPI *tGetPointerType)( UINT32 pointerId, POINTER_INPUT_TYPE *pointerType );
|
||||
typedef BOOL (WINAPI *tGetPointerCursorId)( UINT32 pointerId, UINT32 *cursorId );
|
||||
typedef BOOL (WINAPI *tGetPointerInfo)( UINT32 pointerId, POINTER_INFO *pointerInfo );
|
||||
typedef BOOL (WINAPI *tGetCurrentInputMessageSource)( INPUT_MESSAGE_SOURCE *inputMessageSource );
|
||||
typedef BOOL (WINAPI *tGetCIMSSM)( INPUT_MESSAGE_SOURCE *inputMessageSource );
|
||||
|
||||
static tGetPointerType fGetPointerType;
|
||||
static tGetPointerCursorId fGetPointerCursorId;
|
||||
static tGetPointerInfo fGetPointerInfo;
|
||||
static tGetCurrentInputMessageSource fGetCurrentInputMessageSource;
|
||||
static tGetCIMSSM fGetCIMSSM;
|
||||
|
||||
void InitTouchHelper( void )
|
||||
{
|
||||
HMODULE user32=GetModuleHandle(L"user32.dll");
|
||||
fGetPointerType=(tGetPointerType)GetProcAddress(user32,"GetPointerType");
|
||||
fGetPointerCursorId=(tGetPointerCursorId)GetProcAddress(user32,"GetPointerCursorId");
|
||||
fGetPointerInfo=(tGetPointerInfo)GetProcAddress(user32,"GetPointerInfo");
|
||||
fGetCurrentInputMessageSource=(tGetCurrentInputMessageSource)GetProcAddress(user32,"GetCurrentInputMessageSource");
|
||||
fGetCIMSSM=(tGetCIMSSM)GetProcAddress(user32,"GetCIMSSM");
|
||||
}
|
||||
|
||||
BOOL GetPointerType2( UINT32 pointerId, POINTER_INPUT_TYPE *pointerType )
|
||||
{
|
||||
return fGetPointerType && fGetPointerType(pointerId,pointerType);
|
||||
}
|
||||
|
||||
BOOL GetPointerCursorId2( UINT32 pointerId, UINT32 *cursorId )
|
||||
{
|
||||
return fGetPointerCursorId && fGetPointerCursorId(pointerId,cursorId);
|
||||
}
|
||||
|
||||
BOOL GetPointerInfo2( UINT32 pointerId, POINTER_INFO *pointerInfo )
|
||||
{
|
||||
return fGetPointerInfo && fGetPointerInfo(pointerId,pointerInfo);
|
||||
}
|
||||
|
||||
BOOL GetCurrentInputMessageSource2( INPUT_MESSAGE_SOURCE *inputMessageSource )
|
||||
{
|
||||
return fGetCurrentInputMessageSource && fGetCurrentInputMessageSource(inputMessageSource);
|
||||
}
|
||||
|
||||
BOOL GetCIMSSM2( INPUT_MESSAGE_SOURCE *inputMessageSource )
|
||||
{
|
||||
return fGetCIMSSM && fGetCIMSSM(inputMessageSource);
|
||||
}
|
||||
Reference in New Issue
Block a user