ErrorParameter: A pointer to a value that receives an unsigned 32-bit integer. This parameter is meaningful only if the method returns ERROR_INVALID_PARAMETER and Level is equal to one of the values specified in the preceding table. The ErrorParameter value corresponds to the member of the structure, specified by the WkstaInfo parameter, which caused the ERROR_INVALID_PARAMETER error. Return Values: When the message processing result the description in column two of the following table, this method MUST return one of the following values ( section 2.2). Return value/code Description 0x00000000 NERR_Success The operation completed successfully. 0x00000005 ERROR_ACCESS_DENIED Access is denied. 0x00000057 ERROR_INVALID_PARAMETER One of the function parameters is not valid. Any return value MUST conform to the error code requirements specified in . On receiving the NetrWkstaSetInfo method, if the Level parameter does not equal one of the valid values, then the server MUST fail the call as follows. Note All value ranges are inclusive. Invalid Level value Failure processing 0x000003FB--0x00000415 0x00000417--0xFFFFFFFF The server SHOULD return ERROR_INVALID_LEVEL.<29> Otherwise, if the Level parameter equals 0x000001F6, then the server MUST store values from the WkstaInfo502 member (WKSTA_INFO_502 section 2.2.5.4) of the WkstaInfo parameter into elements of the abstract data model, as follows: wki502_keep_conn stored in Keep_Connection (section ) wki502_max_cmds stored in Max_Commands (section 3.2.1) wki502_sess_timeout stored in Session_TimeOut (section 3.2.1) wki502_dormant_file_limit stored in DormantFileLimit (section 3.2.1) If the Level parameter equals 0x000003F5, then the server MUST store values from the WkstaInfo1013 member (WKSTA_INFO_1013 section 2.2.5.5) of the WkstaInfo parameter into elements of the abstract data model, as follows: wki1013_keep_conn stored in Keep_Connection.
The receiver SHOULD ignore this field.<40> wki502_num_mailslot_buffers This field is not used. The sender MAY initialize it to any value. The receiver SHOULD ignore this field.<41> Not in use. wki502_num_srv_announce_buffers This field is not used. The sender MAY initialize it to any value. The receiver SHOULD ignore this field.<42> Not in use. wki502_max_illegal_datagram_events This field is not used. The sender MAY initialize it to any value. The receiver SHOULD ignore this field.<43> Not in use. wki502_illegal_datagram_event_reset_frequency This is not used. The sender MAY initialize it to any value. The receiver SHOULD ignore this field.<44> Not in use. wki502_log_election_packets This is not used. The sender MAY initialize it to any value. The Not in use.
receiver SHOULD ignore this field.<45> wki502_use_opportunistic_locking This is not used. The sender SHOULD initialize it to 0. The receiver SHOULD ignore this field.<46> 0x00000030 wki502_use_unlock_behind This field is not used. The sender SHOULD initialize it to 0. The receiver SHOULD ignore this field.<47> 0x00000031 wki502_use_close_behind This field is not used. The sender SHOULD initialize it to 0. The receiver SHOULD ignore this field.<48> 0x00000032 wki502_buf_named_pipes This field is not used. The sender SHOULD initialize it to 0. The receiver SHOULD ignore this field.<49> 0x00000033 wki502_use_lock_read_unlock This field is not used. The sender SHOULD initialize it to 0. The receiver SHOULD ignore this field.<50> 0x00000034 wki502_utilize_nt_caching This field is not used. 0x00000035
The name MUST NOT consist entirely of the dot and characters. NERR_InvalidWorkgroupName MUST be returned if the check fails unless the conditions of this type are being checked as part of another type, which specifies alternate error return behavior. NetSetupMachine All conditions for the NetSetupWorkgroup type apply for this type. Additionally: The name MUST NOT contain an asterisk (*). The first character and the last character of the name MUST NOT be the space character. NERR_InvalidComputer MUST be returned if the check fails. NetSetupDomain The name MUST NOT consist entirely of the dot and characters. ERROR_INVALID_NAME MUST be returned if this condition is violated. All conditions for the NetSetupWorkgroup type apply for this type. If the checks for NetSetupWorkgroup fail, then all conditions for the NetSetupDnsMachine apply for this type. NetSetupNonExistentDomain All conditions for the NetSetupDomain type apply for this type. Additionally: The name MUST contain only characters . DNS_ERROR_NON_RFC_NAME MUST be returned if this restriction is violated. NetSetupDnsMachine The validation [RFC1035] is performed in the following Specifically, the name MUST NOT: Contain characters that have any one of the following octal values: 001, 002, 003, 004, 005, 006, 007, 010, 011, 012, 013, 014, 015, 016, 017, 020, 021, 022, 023, 024, 025, 026, 027, 030, 031, 032, 033, 034, 035, 036, 037 Be longer than 255 octets. Contain a label longer than 63 octets. Contain two or more consecutive dots. with a dot. ERROR_INVALID_NAME MUST be returned if any condition in this group is violated. Contain a space. Contain any of the following characters: { | } ~ [ \ ] ^ ' : ; < = > ? @ ! " # $ % ^ ` ( ) + / , * DNS_ERROR_INVALID_NAME_CHAR MUST be returned if any condition in this group is violated.
102 123 99 77 78 108 91 115 88 66 71 73 68 95 53 55 63 64 61 60 76 N 38 21 102 102 123 123 99 99 77 77 78 133 78 108 108 91 91 115 115 88 88 66 66 71 71 73 73 68 68 95 95 53 132 132 53 55 55 63 63 64 64 61 61 60 132 132 60 76 76 20 21 13 O 14 P 136 Password 37 34 34 33 38 18 18 145 Protocol Details 44 29 38 42 38 41 39 41 40 41 40 23 24 27 27 24 27 25 33 28 33 32 28 32 28 32 R 12 14 13 15 S
42 Security 136 136 Sequencing rules 44 51 Server 45 125 50 130 51 102 123 99 77 78 108 91 115 88 66 71 73 68 95 53 55 63 64 61 60 76 51 130 50 18 29 23 Syntax 20 20 19 23 22 T Timer events 44 130 Timers 44 50 162 19 U 38 22 42 38 41 39 41 40 41 40 V 18 18 W 23 24 27 27 24 27 25 33 28 33 32 28 32 28 32 87