FJoinOptions [in]
Set of bit flags that define the join options.
Value Meaning
1 (0x1) Default. Joins a computer to a domain. If this value is not specified, the join is a computer to a workgroup.
2 (0x2) Creates an account on a domain.
4 (0x4) Deletes an account when a domain exists.
16 (0x10) The join operation is part of an upgrade from Windows 98 or Windows 95 to Windows 2000 or Windows NT.
32 (0x20) Allows a join to a new domain, even if the computer is already joined to a domain.
64 (0x40) Performs an unsecured join.
128 (0x80) The machine, not the user, password passed. This option is only valid for unsecure joins.
256 (0x100) Writing SPN and DnsHostName attributes on the computer object should be deferred until the rename that follows the join.
262144 (0x40000) The APIs were invoked during install.
http://msdn.microsoft.com/en-us/library/aa392154(v=vs.85).aspx