 |
LsaOpenPolicy ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The LsaOpenPolicy function opens a handle to the Policy object on a local or remote system. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
NTSTATUS LsaOpenPolicy(
PLSA_UNICODE_STRING SystemName,
PLSA_OBJECT_ATTRIBUTES ObjectAttributes,
ACCESS_MASK DesiredAccess,
PLSA_HANDLE PolicyHandle
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER LsaOpenPolicy IN advapi32;
STRING SystemName,;
STRING @ ObjectAttributes,;
INTEGER DesiredAccess,;
INTEGER @ PolicyHandle
|
 |
 |
 |
| Parameters: |
 |
SystemName
[in] Pointer to an LSA_UNICODE_STRING structure containing the name of the target system.
ObjectAttributes
[in] Pointer to an LSA_OBJECT_ATTRIBUTES structure that specifies the connection attributes.
DesiredAccess
[in] An access mask that specifies the requested access rights.
PolicyHandle
[in, out] Pointer to an LSA_HANDLE variable that receives a handle to the Policy object. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is STATUS_SUCCESS (0). |
 |
 |
| Word Index links for the LsaOpenPolicy : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-11-23 11:19:01 | | Modified: | 2003-11-23 11:20:53 | Visited in last 7 days: 12 |