rpwszSPN: The SPN values. DRS_MSG_SPNREPLY The DRS_MSG_SPNREPLY union defines the response messages received from the method. Only one version, identified by pdwOutVersion^ = 1, is currently defined. typedef [switch_type(DWORD)] union { [case(1)] DRS_MSG_SPNREPLY_V1 V1; } DRS_MSG_SPNREPLY; V1: The version 1 response. DRS_MSG_SPNREPLY_V1 The DRS_MSG_SPNREPLY_V1 structure defines a response message received from the method. typedef struct { DWORD retVal; } DRS_MSG_SPNREPLY_V1; retVal: 0, or a . DS_SPN_OPERATION The DS_SPN_OPERATION type indicates the operation to perform. This type is declared as follows: typedef DWORD DS_SPN_OPERATION; It must be one of the following values. Value Meaning DS_SPN_ADD_SPN_OP Adds the specified values to the existing set of . (0x00000000) DS_SPN_REPLACE_SPN_OP Removes all the existing SPNs, then adds the specified values. If the set of specified values is empty (cSPN is zero), no values are added. (0x00000001) DS_SPN_DELETE_SPN_OP Removes all the existing SPNs. (0x00000002) Method-Specific Abstract Types and Procedures ExecuteWriteSPNRemotely procedure ExecuteWriteSPNRemotely( DWORD dwInVersion,
rpwszSPN: The SPN values. DRS_MSG_SPNREPLY The DRS_MSG_SPNREPLY union defines the response messages received from the method. Only one version, identified by pdwOutVersion^ = 1, is currently defined. typedef [switch_type(DWORD)] union { [case(1)] DRS_MSG_SPNREPLY_V1 V1; } DRS_MSG_SPNREPLY; V1: The version 1 response. DRS_MSG_SPNREPLY_V1 The DRS_MSG_SPNREPLY_V1 structure defines a response message received from the method. typedef struct { DWORD retVal; } DRS_MSG_SPNREPLY_V1; retVal: 0, or a . DS_SPN_OPERATION The DS_SPN_OPERATION type indicates the operation to perform. This type is declared as follows: typedef DWORD DS_SPN_OPERATION; It must be one of the following values. Value Meaning DS_SPN_ADD_SPN_OP (0x00000000) Adds the specified values to the existing set of . DS_SPN_REPLACE_SPN_OP (0x00000001) Removes all the existing SPNs, then adds the specified values. If the set of specified values is empty (cSPN is zero), no values are added. DS_SPN_DELETE_SPN_OP (0x00000002) Removes all the existing SPNs. Method-Specific Abstract Types and Procedures ExecuteWriteSPNRemotely procedure ExecuteWriteSPNRemotely( DWORD dwInVersion,
%5BMS-DRSR%5D-180316.docx