Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

76 lines
1.2 KiB

/***************************************************************************
*
* Copyright (C) 1997 Microsoft Corporation. All Rights Reserved.
*
* File: DIWdm.h
* Content: DirectInput internal include file for Winnt
*
***************************************************************************/
#ifndef DIWdm_H
#define DIWdm_H
#define JOY_BOGUSID ( cJoyMax + 1 )
HRESULT EXTERNAL
DIWdm_SetJoyId
(
IN PCGUID guid,
IN int idJoy
);
PHIDDEVICEINFO EXTERNAL
phdiFindJoyId
(
IN int idJoy
);
HRESULT INTERNAL
DIWdm_SetLegacyConfig
(
IN int idJoy
);
BOOL EXTERNAL
DIWdm_InitJoyId( void );
DWORD EXTERNAL
DIWinnt_RegDeleteKey
(
IN HKEY hStartKey ,
IN LPCTSTR pKeyName
);
HRESULT EXTERNAL
DIWdm_SetConfig
(
UINT idJoy,
LPJOYREGHWCONFIG jwc,
LPCDIJOYCONFIG pcfg,
DWORD fl
);
HRESULT EXTERNAL
DIWdm_DeleteConfig
(
int idJoy
);
HRESULT EXTERNAL
DIWdm_JoyHidMapping
(
IN int idJoy,
OUT PVXDINITPARMS pvip, OPTIONAL
OUT LPDIJOYCONFIG pcfg, OPTIONAL
OUT LPDIJOYTYPEINFO pdijti OPTIONAL
);
LPTSTR EXTERNAL
JoyReg_JoyIdToDeviceInterface
(
IN UINT idJoy,
OUT PVXDINITPARMS pvip,
OUT LPTSTR ptszBuf
);
#endif // DIWdm_H