ReactOS  0.4.13-dev-247-g0f29b3f
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 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
#define CloseHandle
Definition: compat.h:398
LONG NTSTATUS
Definition: precomp.h:26
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1059
HANDLE WINAPI DECLSPEC_HOTPATCH CreateEventW(IN LPSECURITY_ATTRIBUTES lpEventAttributes OPTIONAL, IN BOOL bManualReset, IN BOOL bInitialState, IN LPCWSTR lpName OPTIONAL)
Definition: synch.c:597
#define NERR_Success
Definition: lmerr.h:5
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
NET_API_STATUS WINAPI NetpNtStatusToApiStatus(_In_ NTSTATUS Status)
Definition: misc.c:140
Status
Definition: gdiplustypes.h:24
NTSTATUS NTAPI LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass, HANDLE NotificationEventHandle)
Definition: lsalpc.c:329
_Out_ PHANDLE EventHandle
Definition: iofuncs.h:855

◆ 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 }
#define ERROR_INVALID_PARAMETER
Definition: compat.h:91
LONG NTSTATUS
Definition: precomp.h:26
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
NET_API_STATUS WINAPI NetpNtStatusToApiStatus(_In_ NTSTATUS Status)
Definition: misc.c:140
Status
Definition: gdiplustypes.h:24
NTSTATUS NTAPI LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS InformationClass, HANDLE NotificationEventHandle)
Definition: lsalpc.c:376