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

# IPropData\_HrSetObjAccess(3w)

## NAME

**IPropData\_HrSetObjAccess** (MAPI32.@)

## SYNOPSIS

static HRESULT IPropData\_HrSetObjAccess\
  (\
   LPPROPDATA *iface*,\
   ULONG      *ulAccess*\
  )

## DESCRIPTION

Set the access level of an **IPropData** object.

## PARAMS

*iface* **\[In\]**  **IPropData** object to set the access on.

*ulAccess* **\[In\]**  Either **IPROP\_READONLY** or **IPROP\_READWRITE** for read or read/write access respectively.

## RETURNS

**Success:** **S\_OK**. The objects access level is changed.

**Failure:** **MAPI\_E\_INVALID\_PARAMETER**, if any parameter is invalid.

## IMPLEMENTATION

Declared in **"mapiutil.h"**.

Implemented in **"dlls/mapi32/prop.c"**.

Debug channel **"mapi"**.
