The LSA_HANDLE data type is a handle to the local Policy object.
typedef PVOID LSA_HANDLE, *PLSA_HANDLE;
Before you can use the local policy API your application must open a handle to a Policy object. To do this, call LsaOpenPolicy. This function returns a handle that your application can then specify in subsequent LSA policy function calls.
Each handle has an associated set of permissions that determine the operations your application can perform on the Policy object by using the handle. Your application can open more than one handle to the Policy object at a time. When a handle is no longer required, your application should close it by calling LsaClose.
|Minimum supported client
||Windows XP [desktop apps only]
|Minimum supported server
||Windows Server 2003 [desktop apps only]