@@ -36,27 +36,27 @@ bool getAOCPath(std::string &outStr) {
3636 DEBUG_FUNCTION_LINE_WARN (" OSDynLoad_Acquire failed" );
3737 return false ;
3838 }
39- if (OSDynLoad_FindExport (aoc_handle, false , " AOC_Initialize" , reinterpret_cast <void **>(&AOC_Initialize)) != OS_DYNLOAD_OK ) {
39+ if (OSDynLoad_FindExport (aoc_handle, OS_DYNLOAD_EXPORT_FUNC , " AOC_Initialize" , reinterpret_cast <void **>(&AOC_Initialize)) != OS_DYNLOAD_OK ) {
4040 DEBUG_FUNCTION_LINE_WARN (" OSDynLoad_FindExport failed" );
4141 goto end;
4242 }
43- if (OSDynLoad_FindExport (aoc_handle, false , " AOC_Finalize" , reinterpret_cast <void **>(&AOC_Finalize)) != OS_DYNLOAD_OK ) {
43+ if (OSDynLoad_FindExport (aoc_handle, OS_DYNLOAD_EXPORT_FUNC , " AOC_Finalize" , reinterpret_cast <void **>(&AOC_Finalize)) != OS_DYNLOAD_OK ) {
4444 DEBUG_FUNCTION_LINE_WARN (" OSDynLoad_FindExport failed" );
4545 goto end;
4646 }
47- if (OSDynLoad_FindExport (aoc_handle, false , " AOC_OpenTitle" , reinterpret_cast <void **>(&AOC_OpenTitle)) != OS_DYNLOAD_OK ) {
47+ if (OSDynLoad_FindExport (aoc_handle, OS_DYNLOAD_EXPORT_FUNC , " AOC_OpenTitle" , reinterpret_cast <void **>(&AOC_OpenTitle)) != OS_DYNLOAD_OK ) {
4848 DEBUG_FUNCTION_LINE_WARN (" OSDynLoad_FindExport failed" );
4949 goto end;
5050 }
51- if (OSDynLoad_FindExport (aoc_handle, false , " AOC_ListTitle" , reinterpret_cast <void **>(&AOC_ListTitle)) != OS_DYNLOAD_OK ) {
51+ if (OSDynLoad_FindExport (aoc_handle, OS_DYNLOAD_EXPORT_FUNC , " AOC_ListTitle" , reinterpret_cast <void **>(&AOC_ListTitle)) != OS_DYNLOAD_OK ) {
5252 DEBUG_FUNCTION_LINE_WARN (" OSDynLoad_FindExport failed" );
5353 goto end;
5454 }
55- if (OSDynLoad_FindExport (aoc_handle, false , " AOC_CalculateWorkBufferSize" , reinterpret_cast <void **>(&AOC_CalculateWorkBufferSize)) != OS_DYNLOAD_OK ) {
55+ if (OSDynLoad_FindExport (aoc_handle, OS_DYNLOAD_EXPORT_FUNC , " AOC_CalculateWorkBufferSize" , reinterpret_cast <void **>(&AOC_CalculateWorkBufferSize)) != OS_DYNLOAD_OK ) {
5656 DEBUG_FUNCTION_LINE_WARN (" OSDynLoad_FindExport failed" );
5757 goto end;
5858 }
59- if (OSDynLoad_FindExport (aoc_handle, false , " AOC_CloseTitle" , reinterpret_cast <void **>(&AOC_CloseTitle)) != OS_DYNLOAD_OK ) {
59+ if (OSDynLoad_FindExport (aoc_handle, OS_DYNLOAD_EXPORT_FUNC , " AOC_CloseTitle" , reinterpret_cast <void **>(&AOC_CloseTitle)) != OS_DYNLOAD_OK ) {
6060 DEBUG_FUNCTION_LINE_WARN (" OSDynLoad_FindExport failed" );
6161 goto end;
6262 }
0 commit comments