static extern UInt32 DsGetSpn( DS_SPN_NAME_TYPE ServiceType, string serviceClass, string serviceName, ushort instancePort, ushort cInstanceNames, string[] pInstanceNames, ushort[] pInstancePorts, ref Int32 spnCount, ref IntPtr spnArrayPointer);
public static extern unsafe uint DsGetSpnA(DS_SPN_NAME_TYPE ServiceType, sbyte *ServiceClass, sbyte *ServiceName, ushort InstancePort, ushort cInstanceNames, sbyte **pInstanceNames, ushort *pInstancePorts, uint *pcSpn, sbyte ***prpszSpn);