Kernel32::CreateFileMapping exists, but Kernel32::OpenFileMapping does not. This is more confusing because Kernel32::MapViewOfFile mentions OpenFileMapping in its Javadocs here:
|
* @param hFileMappingObject |
|
* A handle to a file mapping object. The CreateFileMapping and |
|
* OpenFileMapping functions return this handle. |
I believe the signature should be this:
HANDLE OpenFileMapping(WinBase.SECURITY_ATTRIBUTES lpAttributes,
boolean bInheritHandle, String lpName);
derived from the specs here.
Kernel32::CreateFileMappingexists, butKernel32::OpenFileMappingdoes not. This is more confusing becauseKernel32::MapViewOfFilementionsOpenFileMappingin its Javadocs here:jna/contrib/platform/src/com/sun/jna/platform/win32/Kernel32.java
Lines 1052 to 1054 in b8bdacb
I believe the signature should be this:
derived from the specs here.