---
name: "SHLockShared"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SHLockShared"
---

# SHLockShared(3w)

## NAME

**SHLockShared** (SHLWAPI.8)

## SYNOPSIS

PVOID SHLockShared\
  (\
   HANDLE *hShared*,\
   DWORD  *dwProcId*\
  )

## DESCRIPTION

Get a pointer to a block of shared memory from a shared memory handle.

## PARAMS

*hShared* **\[In\]**  Shared memory handle.

*dwProcId* **\[In\]**  Id of process owning *hShared*.

## RETURNS

**Success:** A pointer to the shared memory

**Failure:** **NULL**

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

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

Debug channel **"shell"**.
