source: trunk/include/custombuild.h@ 7247

Last change on this file since 7247 was 7247, checked in by sandervl, 24 years ago

update

File size: 1.2 KB
RevLine 
[7061]1#ifndef __CUSTOMBUILD_H__
2#define __CUSTOMBUILD_H__
3
[7238]4//HKEY_LOCAL_MACHINE
5#define CUSTOM_BUILD_OPTIONS_KEY "System\\CustomBuild"
6#define DISABLE_AUDIO_KEY "DisableAudio"
7
[7061]8extern BOOL fCustomBuild;
9
10void InitDirectoriesCustom(char *szSystemDir, char *szWindowsDir);
11
12void DisableOdinIni();
[7078]13void DisableOdinSysMenuItems();
[7061]14
[7246]15
16typedef HANDLE (* WIN32API PFNDRVOPEN)(DWORD dwAccess, DWORD dwShare);
17typedef void (* WIN32API PFNDRVCLOSE)(HANDLE hDevice);
18typedef BOOL (* WIN32API PFNDRVIOCTL)(HANDLE hDevice, DWORD dwIoControlCode,
19 LPVOID lpInBuffer, DWORD nInBufferSize,
20 LPVOID lpOutBuffer, DWORD nOutBufferSize,
21 LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped);
22
23BOOL WIN32API RegisterCustomDriver(PFNDRVOPEN pfnDriverOpen, PFNDRVCLOSE pfnDriverClose,
24 PFNDRVIOCTL pfnDriverIOCtl, LPCSTR lpDeviceName);
25
[7247]26
27//SetDialogHook can be used by a custom Odin build to register a hook procedure
28//that gets called before or after dialog creation
29
30#define HCUSTOM_PREDIALOGCREATION 0
31#define HCUSTOM_POSTDIALOGCREATION 1
32
33BOOL WIN32API SetDialogHook(HOOKPROC pfnDialogProc);
34BOOL WIN32API ClearDialogHook();
35
[7061]36#endif /*__CUSTOMBUILD_H__*/
37
Note: See TracBrowser for help on using the repository browser.