NAME

LsaOpenPolicy  (ADVAPI32.@)

SYNOPSIS

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

DESCRIPTION

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". https://source.winehq.org/source/include/ntsecapi.h

Implemented in "dlls/advapi32/lsa.c". https://source.winehq.org/source/dlls/advapi32/lsa.c

Debug channel "advapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.