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

# CoRevokeInitializeSpy(3w)

## NAME

**CoRevokeInitializeSpy** (OLE32.@)

## SYNOPSIS

HRESULT CoRevokeInitializeSpy\
  (\
   ULARGE\_INTEGER *cookie*\
  )

## DESCRIPTION

Remove a spy that previously watched CoInitializeEx calls.

## PARAMS

*cookie* **\[In\]**  The *cookie* obtained from a previous CoRegisterInitializeSpy call.

## RETURNS

**Success:** **S\_OK** if a spy is removed

**Failure:** **E\_INVALIDARG**.

## SEE ALSO

CoInitializeEx

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
