Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OpenFileMapping method to Win32 Kernel #1093

Closed
magneticflux- opened this issue May 11, 2019 · 1 comment
Closed

Add OpenFileMapping method to Win32 Kernel #1093

magneticflux- opened this issue May 11, 2019 · 1 comment

Comments

@magneticflux-
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants