lsa.c (c2c66aff) lsa.c (71ddf537)
1/*
2 * Unit tests for lsa functions
3 *
4 * Copyright (c) 2006 Robert Reif
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 4 unchanged lines hidden (view full) ---

13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
1/*
2 * Unit tests for lsa functions
3 *
4 * Copyright (c) 2006 Robert Reif
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 4 unchanged lines hidden (view full) ---

13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#include <stdarg.h>
22#include <stdio.h>
21#include "precomp.h"
23
22
24#include "ntstatus.h"
25#define WIN32_NO_STATUS
26#define _INC_WINDOWS
27#define COM_NO_WINDOWS_H
28#include "windef.h"
29#include "winbase.h"
30#include "winreg.h"
31#include "ntsecapi.h"
32#include "sddl.h"
33#include "winnls.h"
34#include "objbase.h"
35#include "initguid.h"
36#include "wine/test.h"
23#include <winnls.h>
24#include <objbase.h>
25#include <initguid.h>
37
38DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
39
40static HMODULE hadvapi32;
41static NTSTATUS (WINAPI *pLsaClose)(LSA_HANDLE);
42static NTSTATUS (WINAPI *pLsaEnumerateAccountRights)(LSA_HANDLE,PSID,PLSA_UNICODE_STRING*,PULONG);
43static NTSTATUS (WINAPI *pLsaFreeMemory)(PVOID);
44static NTSTATUS (WINAPI *pLsaOpenPolicy)(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);

--- 433 unchanged lines hidden ---
26
27DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
28
29static HMODULE hadvapi32;
30static NTSTATUS (WINAPI *pLsaClose)(LSA_HANDLE);
31static NTSTATUS (WINAPI *pLsaEnumerateAccountRights)(LSA_HANDLE,PSID,PLSA_UNICODE_STRING*,PULONG);
32static NTSTATUS (WINAPI *pLsaFreeMemory)(PVOID);
33static NTSTATUS (WINAPI *pLsaOpenPolicy)(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);

--- 433 unchanged lines hidden ---