ReactOS 0.4.15-dev-7907-g95bf896
lmconfig.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CONFIG_INFO_0
 

Macros

#define REVISED_CONFIG_APIS
 

Typedefs

typedef struct _CONFIG_INFO_0 CONFIG_INFO_0
 
typedef struct _CONFIG_INFO_0PCONFIG_INFO_0
 
typedef struct _CONFIG_INFO_0LPCONFIG_INFO_0
 

Functions

NET_API_STATUS WINAPI NetConfigGet (LPCWSTR, LPCWSTR, LPCWSTR, PBYTE *)
 
NET_API_STATUS WINAPI NetConfigGetAll (LPCWSTR, LPCWSTR, PBYTE *)
 
NET_API_STATUS WINAPI NetConfigSet (LPCWSTR, LPCWSTR, LPCWSTR, DWORD, DWORD, PBYTE, DWORD)
 
NET_API_STATUS WINAPI NetRegisterDomainNameChangeNotification (_Out_ PHANDLE NotificationEventHandle)
 
NET_API_STATUS WINAPI NetUnregisterDomainNameChangeNotification (_In_ HANDLE NotificationEventHandle)
 

Macro Definition Documentation

◆ REVISED_CONFIG_APIS

#define REVISED_CONFIG_APIS

Definition at line 7 of file lmconfig.h.

Typedef Documentation

◆ CONFIG_INFO_0

◆ LPCONFIG_INFO_0

◆ PCONFIG_INFO_0

Function Documentation

◆ NetConfigGet()

NET_API_STATUS WINAPI NetConfigGet ( LPCWSTR  ,
LPCWSTR  ,
LPCWSTR  ,
PBYTE  
)

◆ NetConfigGetAll()

NET_API_STATUS WINAPI NetConfigGetAll ( LPCWSTR  ,
LPCWSTR  ,
PBYTE  
)

◆ NetConfigSet()

NET_API_STATUS WINAPI NetConfigSet ( LPCWSTR  ,
LPCWSTR  ,
LPCWSTR  ,
DWORD  ,
DWORD  ,
PBYTE  ,
DWORD   
)

◆ NetRegisterDomainNameChangeNotification()

NET_API_STATUS WINAPI NetRegisterDomainNameChangeNotification ( _Out_ PHANDLE  NotificationEventHandle)

Definition at line 23 of file misc.c.

25{
28
29 TRACE("NetRegisterDomainNameChangeNotification(%p)\n",
30 NotificationEventHandle);
31
32 if (NotificationEventHandle == NULL)
34
36 if (EventHandle == NULL)
37 return GetLastError();
38
40 NotificationEventHandle);
41 if (!NT_SUCCESS(Status))
42 {
45 }
46
47 *NotificationEventHandle = EventHandle;
48
49 return NERR_Success;
50}
LONG NTSTATUS
Definition: precomp.h:26
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
#define CloseHandle
Definition: compat.h:739
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
NET_API_STATUS WINAPI NetpNtStatusToApiStatus(_In_ NTSTATUS Status)
Definition: misc.c:289
Status
Definition: gdiplustypes.h:25
#define NERR_Success
Definition: lmerr.h:5
NTSTATUS NTAPI LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass, HANDLE NotificationEventHandle)
Definition: lsalpc.c:331
@ PolicyNotifyDnsDomainInformation
Definition: ntsecapi.h:283
#define TRACE(s)
Definition: solgame.cpp:4
HANDLE WINAPI DECLSPEC_HOTPATCH CreateEventW(IN LPSECURITY_ATTRIBUTES lpEventAttributes OPTIONAL, IN BOOL bManualReset, IN BOOL bInitialState, IN LPCWSTR lpName OPTIONAL)
Definition: synch.c:651
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
_Out_ PHANDLE EventHandle
Definition: iofuncs.h:857

◆ NetUnregisterDomainNameChangeNotification()

NET_API_STATUS WINAPI NetUnregisterDomainNameChangeNotification ( _In_ HANDLE  NotificationEventHandle)

Definition at line 120 of file misc.c.

122{
124
125 TRACE("NetUnregisterDomainNameChangeNotification(%p)\n",
126 NotificationEventHandle);
127
128 if (NotificationEventHandle == NULL)
130
132 NotificationEventHandle);
133
135}
NTSTATUS NTAPI LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass, HANDLE NotificationEventHandle)
Definition: lsalpc.c:378