|
My Project
|
Implements the dllmain function. More...
#include <tchar.h>#include <windows.h>#include <winuser.h>#include <crtdbg.h>#include "dllmain.h"#include "resource.h"Defines | |
| #define | SPECIAL_KEY_PLAY 179 |
| #define | SPECIAL_KEY_PREVIOUS 177 |
| #define | SPECIAL_KEY_NEXT 176 |
| #define | SPECIAL_KEY_STOP 178 |
| #define | SPECIAL_KEY_SEEK_FORWARD 70 |
| #define | SPECIAL_KEY_SEEK_BACKWARD 66 |
Functions | |
| BOOL APIENTRY | DllMain (HANDLE hInst, DWORD ul_reason_for_call, LPVOID lpReserved) |
| LRESULT CALLBACK | ShellProc (int nCode, WPARAM wParam, LPARAM lParam) |
| DLL_API_SALLY BOOL | KHSetupHWND (HWND hParent) |
| DLL_API_SALLY BOOL | KHEnableHook () |
| DLL_API_SALLY BOOL | KHDisableHook () |
| DLL_API_SALLY bool | IsKHEnabled () |
Variables | |
| HWND | hWindow = NULL |
| HHOOK | hhkHook = NULL |
| HINSTANCE | hInstance = NULL |
Implements the dllmain function.
This file is part of the Sally Project
Copyright(c) 2008-2010 Sally Project http://www.sally-project.org/
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
| #define SPECIAL_KEY_NEXT 176 |
| #define SPECIAL_KEY_PLAY 179 |
| #define SPECIAL_KEY_PREVIOUS 177 |
| #define SPECIAL_KEY_SEEK_BACKWARD 66 |
| #define SPECIAL_KEY_SEEK_FORWARD 70 |
| #define SPECIAL_KEY_STOP 178 |
| BOOL APIENTRY DllMain | ( | HANDLE | hInst, |
| DWORD | ul_reason_for_call, | ||
| LPVOID | lpReserved | ||
| ) |
| DLL_API_SALLY bool IsKHEnabled | ( | ) |
| DLL_API_SALLY BOOL KHDisableHook | ( | ) |
| DLL_API_SALLY BOOL KHEnableHook | ( | ) |
| DLL_API_SALLY BOOL KHSetupHWND | ( | HWND | hParent | ) |
| LRESULT CALLBACK ShellProc | ( | int | nCode, |
| WPARAM | wParam, | ||
| LPARAM | lParam | ||
| ) |
| HHOOK hhkHook = NULL |
| HINSTANCE hInstance = NULL |
| HWND hWindow = NULL |