ReactOS 0.4.15-dev-5667-ged97270
lmjoin.h
Go to the documentation of this file.
1#ifndef _LMJOIN_H
2#define _LMJOIN_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
9{
15
16#define NETSETUP_JOIN_DOMAIN 0x00000001
17#define NETSETUP_ACCT_CREATE 0x00000002
18#define NETSETUP_ACCT_DELETE 0x00000004
19#define NETSETUP_WIN9X_UPGRADE 0x00000010
20#define NETSETUP_DOMAIN_JOIN_IF_JOINED 0x00000020
21#define NETSETUP_JOIN_UNSECURE 0x00000040
22#define NETSETUP_MACHINE_PWD_PASSED 0x00000080
23#define NETSETUP_DEFER_SPN_SET 0x00000100
24#define NETSETUP_JOIN_DC_ACCOUNT 0x00000200
25#define NETSETUP_JOIN_WITH_NEW_NAME 0x00000400
26#define NETSETUP_INSTALL_INVOCATION 0x00040000
27#define NETSETUP_IGNORE_UNSUPPORTED_FLAGS 0x10000000
28
29#define NETSETUP_VALID_UNJOIN_FLAGS (NETSETUP_ACCT_DELETE | \
30 NETSETUP_JOIN_DC_ACCOUNT | \
31 NETSETUP_IGNORE_UNSUPPORTED_FLAGS)
32
36 _In_opt_ LPCWSTR lpServer,
37 _In_ LPCWSTR lpDomain,
38 _In_opt_ LPCWSTR lpAccountOU,
39 _In_opt_ LPCWSTR lpAccount,
40 _In_opt_ LPCWSTR lpPassword,
41 _In_ DWORD fJoinOptions);
42
46 _In_opt_ LPCWSTR lpServer,
47 _In_opt_ LPCWSTR lpAccount,
48 _In_opt_ LPCWSTR lpPassword,
49 _In_ DWORD fUnjoinOptions);
50
54 _In_opt_ LPCWSTR lpServer,
56 _Out_ PNETSETUP_JOIN_STATUS BufferType);
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif
unsigned long DWORD
Definition: ntddk_ex.h:95
#define NET_API_FUNCTION
Definition: lmcons.h:7
_NETSETUP_JOIN_STATUS
Definition: lmjoin.h:9
@ NetSetupDomainName
Definition: lmjoin.h:13
@ NetSetupWorkgroupName
Definition: lmjoin.h:12
@ NetSetupUnjoined
Definition: lmjoin.h:11
@ NetSetupUnknownStatus
Definition: lmjoin.h:10
NET_API_STATUS NET_API_FUNCTION NetUnjoinDomain(_In_opt_ LPCWSTR lpServer, _In_opt_ LPCWSTR lpAccount, _In_opt_ LPCWSTR lpPassword, _In_ DWORD fUnjoinOptions)
Definition: wksta_new.c:601
enum _NETSETUP_JOIN_STATUS NETSETUP_JOIN_STATUS
enum _NETSETUP_JOIN_STATUS * PNETSETUP_JOIN_STATUS
NET_API_STATUS NET_API_FUNCTION NetJoinDomain(_In_opt_ LPCWSTR lpServer, _In_ LPCWSTR lpDomain, _In_opt_ LPCWSTR lpAccountOU, _In_opt_ LPCWSTR lpAccount, _In_opt_ LPCWSTR lpPassword, _In_ DWORD fJoinOptions)
Definition: wksta_new.c:405
NET_API_STATUS NET_API_FUNCTION NetGetJoinInformation(_In_opt_ LPCWSTR lpServer, _Out_opt_ LPWSTR *lpNameBuffer, _Out_ PNETSETUP_JOIN_STATUS BufferType)
DWORD NET_API_STATUS
Definition: ms-dtyp.idl:91
#define _Out_opt_
Definition: ms_sal.h:346
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
static LPSTR lpNameBuffer
Definition: secur32.c:50
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185