Skip to content

Add OpenFileMapping method to Win32 Kernel #1093

@magneticflux-

Description

@magneticflux-

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions