Added nvdaControllerClient.dll source code to speech directory. Added game "shooter" which is not enabled yet because of problems with the 64 bit version of the nvdaControllerClient64.dll.
This commit is contained in:
34
speech/nvda-dll/nvdaControllerClient32.cpp
Normal file
34
speech/nvda-dll/nvdaControllerClient32.cpp
Normal file
@ -0,0 +1,34 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
unsigned long __stdcall __declspec(dllexport) nvdaController_speakText(const wchar_t* text);
|
||||
unsigned long __stdcall __declspec(dllexport) nvdaController_cancelSpeech();
|
||||
unsigned long __stdcall __declspec(dllexport) nvdaController_brailleMessage(const wchar_t* text);
|
||||
unsigned long __stdcall __declspec(dllexport) nvdaController_testIfRunning();
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
asm (".section .drectve");
|
||||
asm (".ascii \"-export:nvdaController_speakText\"");
|
||||
asm (".ascii \"-export:nvdaController_cancelSpeech\"");
|
||||
asm (".ascii \"-export:nvdaController_brailleMessage\"");
|
||||
asm (".ascii \"-export:nvdaController_testIfRunning\"");
|
||||
|
||||
unsigned long __stdcall __declspec(dllexport) nvdaController_speakText(const wchar_t* text) {
|
||||
return 420;
|
||||
}
|
||||
|
||||
unsigned long __stdcall __declspec(dllexport) nvdaController_cancelSpeech() {
|
||||
return 420;
|
||||
}
|
||||
|
||||
unsigned long __stdcall __declspec(dllexport) nvdaController_brailleMessage(const wchar_t* text) {
|
||||
return 420;
|
||||
}
|
||||
|
||||
unsigned long __stdcall __declspec(dllexport) nvdaController_testIfRunning() {
|
||||
return 420;
|
||||
}
|
Reference in New Issue
Block a user