Changeset 7622 for trunk/src


Ignore:
Timestamp:
Dec 13, 2001, 1:24:42 PM (24 years ago)
Author:
sandervl
Message:

Added function to override name of the PM keyboard hook dll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/inituser32.cpp

    r7403 r7622  
    1 /* $Id: inituser32.cpp,v 1.7 2001-11-20 09:53:56 sandervl Exp $ */
     1/* $Id: inituser32.cpp,v 1.8 2001-12-13 12:24:42 sandervl Exp $ */
    22/*
    33 * USER32 DLL entry point
     
    7171/* targetted window, but no more harmful things will happen.  */
    7272/**************************************************************/
    73 #define PMKBDHK_MODULE "PMKBDHK"
     73static char PMKBDHK_MODULE[16] = "PMKBDHK";
    7474#define PMKBDHK_HOOK_INIT "hookInit"
    7575#define PMKBDHK_HOOK_TERM "hookKill"
     
    8484extern HAB hab;
    8585
     86//******************************************************************************
     87//******************************************************************************
     88void WIN32API SetCustomPMHookDll(LPSTR pszKbdDllName)
     89{
     90   strcpy(PMKBDHK_MODULE, pszKbdDllName);
     91}
     92//******************************************************************************
     93//******************************************************************************
    8694void pmkbdhk_initialize(HAB _hab)
    8795{
     
    137145  }
    138146}
    139 
     147//******************************************************************************
     148//******************************************************************************
    140149void pmkbdhk_terminate(void)
    141150{
     
    162171  }
    163172}
    164 
    165 
    166173/****************************************************************************/
    167174/* _DLL_InitTerm is the function that gets called by the operating system   */
     
    234241   return 1UL;
    235242}
    236 
     243//******************************************************************************
     244//******************************************************************************
    237245void APIENTRY cleanupUser32(ULONG ulReason)
    238246{
     
    256264   dprintf(("user32 exit done\n"));
    257265}
    258 
     266//******************************************************************************
     267//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.