Reference

SHMapHandle(3w)

NAME

SHMapHandle (SHLWAPI.11)

SYNOPSIS

HANDLE SHMapHandle
(
HANDLE hShared,
DWORD dwDstProcId,
DWORD dwSrcProcId,
DWORD dwAccess,
DWORD dwOptions
)

DESCRIPTION

Copy a sharable memory handle from one process to another.

PARAMS

hShared [In] Shared memory handle to duplicate.

dwDstProcId [In] Id of the process wanting the duplicated handle.

dwSrcProcId [In] Id of the process owning hShared.

dwAccess [In] Desired DuplicateHandle(3w) access.

dwOptions [In] Desired DuplicateHandle(3w) options.

RETURNS

Success: A handle suitable for use by the dwDstProcId process.

Failure: A NULL handle.

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

Implemented in "dlls/shlwapi/ordinal.c".

Debug channel "shell".

History