35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
#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;
 | 
						|
}
 |