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

# BindMoniker(3w)

## NAME

**BindMoniker** (OLE32.@)

## SYNOPSIS

HRESULT BindMoniker\
  (\
   LPMONIKER *pmk*,\
   DWORD     *grfOpt*,\
   REFIID    *riid*,\
   LPVOID\*   *ppvResult*\
  )

## DESCRIPTION

Binds to a moniker.

## PARAMS

*pmk* **\[In\]**  Moniker to bind to.

*grfOpt* **\[In\]**  Reserved option flags. Set to **0.**

*riid* **\[In\]**  Id of the interface to bind to.

pvResult **\[Out\]**  Address that receives the interface of the object that was bound to.

## RETURNS

**Success:** **S\_OK**.

**Failure:** Any **HRESULT** code.

## IMPLEMENTATION

Declared in **"objbase.h"**.

Implemented in **"dlls/ole32/bindctx.c"**.

Debug channel **"ole"**.
