LsaOpenPolicy(3w)

LsaOpenPolicy3w

Usage

NTSTATUS LsaOpenPolicy
(
IN PLSA_UNICODE_STRING SystemName,
IN PLSA_OBJECT_ATTRIBUTES ObjectAttributes,
IN ACCESS_MASK DesiredAccess,
IN OUT PLSA_HANDLE PolicyHandle
)

Overview

Opens a handle to the Policy object on a local or remote system.

Params

SystemName [In] Name of the target system.

ObjectAttributes [In] Connection attributes.

DesiredAccess [In] Requested access rights.

PolicyHandle [In/Out] Handle to the Policy object.

Returns

Success: STATUS_SUCCESS.

Failure: NTSTATUS code.

Notes

Set SystemName to NULL to open the local Policy object.

Implementation

Declared in "ntsecapi.h".

Implemented in "dlls/advapi32/lsa.c".

Debug channel "advapi".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.