Lines 21-35
Link Here
|
21 |
#include "osl/security.h" |
21 |
#include "osl/security.h" |
22 |
#include <osl/pipe.h> |
22 |
#include <osl/pipe.h> |
23 |
|
23 |
|
24 |
/* On Windows, jpipe.dll must not have dependencies on any other URE DLLs, as |
24 |
/* On Windows, jpipe.dll must not have static dependencies on any other URE DLLs |
25 |
Java System.LoadLibrary could otherwise not load it. Therefore, on Windows, |
25 |
(sal3.dll, uwinapi.dll), as Java System.LoadLibrary could otherwise not load |
26 |
this code goes into a jpipx.dll that the jpipe.dll wrapper loads with |
26 |
it. Therefore, on Windows, this code goes into a jpipx.dll that the jpipe.dll |
27 |
LoadLibraryEx(LOAD_WITH_ALTERED_SEARCH_PATH). The function names in this |
27 |
wrapper loads with LoadLibraryEx(LOAD_WITH_ALTERED_SEARCH_PATH). |
28 |
wrapped code are truncated from the long JNICALL names, as JNICALL causes |
28 |
The function names in this wrapped code are truncated from the long JNICALL |
29 |
some "@N" with different numeric values for N (and probably different across |
29 |
names, as JNICALL causes some "@N" with different numeric values for |
30 |
32 and 64 bit) to be added to the symbol names, which the calls to |
30 |
N (and probably different across 32 and 64 bit) to be added to the symbol |
31 |
GetProcAddress in wrapper/wrapper.c would otheriwse have to take into |
31 |
names, which the calls to GetProcAddress in wrapper/wrapper.c would otherwise |
32 |
account. |
32 |
have to take into account. |
33 |
*/ |
33 |
*/ |
34 |
|
34 |
|
35 |
/*****************************************************************************/ |
35 |
/*****************************************************************************/ |