Ignore:
Timestamp:
Feb 25, 2002, 1:02:35 PM (24 years ago)
Author:
sandervl
Message:

Added custom findresource hook support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/custombuild.h

    r7943 r8012  
    6666#define HCUSTOM_POSTDIALOGCREATION      1
    6767
    68 BOOL WIN32API SetDialogHook(HOOKPROC pfnDialogProc);
    69 BOOL WIN32API ClearDialogHook();
     68BOOL WIN32API SetCustomDialogHook(HOOKPROC pfnDialogProc);
     69BOOL WIN32API ClearCustomDialogHook();
    7070
     71//Override FindResource function
     72typedef void (* WIN32API PFNFINDRESOURCEEXA)(HINSTANCE *phModule, LPSTR *lplpszName, LPSTR *lplpszType, WORD *lpLanguage);
     73typedef void (* WIN32API PFNFINDRESOURCEEXW)(HINSTANCE *phModule, LPWSTR *lplpszName, LPWSTR *lplpszType, WORD *lpLanguage);
     74
     75BOOL WIN32API SetCustomFindResource(PFNFINDRESOURCEEXA pfnFindResourceA, PFNFINDRESOURCEEXW pfnFindResourceW);
    7176
    7277//Set the default language in kernel32
Note: See TracChangeset for help on using the changeset viewer.