private Reinitialize ( ConversionStorage |
||
toStr | ConversionStorage |
|
self | Win32API | |
libraryName | [ | |
functionName | [ | |
parameterTypes | [ | |
returnType | [ | |
return | Win32API |
public static Win32API /*!*/ Reinitialize(Win32API /*!*/ self, [DefaultProtocol, NotNull] MutableString /*!*/ libraryName, [DefaultProtocol, NotNull] MutableString /*!*/ functionName, [DefaultProtocol, NotNull] MutableString /*!*/ parameterTypes, [DefaultProtocol, NotNull] MutableString /*!*/ returnType) { return(self.Reinitialize( GetFunction(libraryName, functionName), MakeSignature(parameterTypes.GetByteCount(), parameterTypes.GetByte), returnType.IsEmpty ? ArgType.None : ToArgType(returnType.GetByte(0)) )); }
public static Win32API /*!*/ Reinitialize( ConversionStorage <MutableString> /*!*/ toStr, Win32API /*!*/ self, [DefaultProtocol, NotNull] MutableString /*!*/ libraryName, [DefaultProtocol, NotNull] MutableString /*!*/ functionName, [NotNull] IList /*!*/ parameterTypes, [DefaultProtocol, NotNull] MutableString /*!*/ returnType) { return(self.Reinitialize( GetFunction(libraryName, functionName), MakeSignature(parameterTypes.Count, (i) => { var str = Protocols.CastToString(toStr, parameterTypes[i]); return str.IsEmpty ? (byte)0 : str.GetByte(0); }), returnType.IsEmpty ? ArgType.None : ToArgType(returnType.GetByte(0)) )); }
public static Win32API/*!*/ Reinitialize( ConversionStorage<MutableString>/*!*/ toStr, Win32API/*!*/ self, [DefaultProtocol, NotNull]MutableString/*!*/ libraryName, [DefaultProtocol, NotNull]MutableString/*!*/ functionName, [NotNull]IList/*!*/ parameterTypes, [DefaultProtocol, NotNull]MutableString/*!*/ returnType) { return self.Reinitialize( GetFunction(libraryName, functionName), MakeSignature(parameterTypes.Count, (i) => { var str = Protocols.CastToString(toStr, parameterTypes[i]); return str.IsEmpty ? (byte)0 : str.GetByte(0); }), returnType.IsEmpty ? ArgType.None : ToArgType(returnType.GetByte(0)) ); }
public static Win32API/*!*/ Reinitialize(Win32API/*!*/ self, [DefaultProtocol, NotNull]MutableString/*!*/ libraryName, [DefaultProtocol, NotNull]MutableString/*!*/ functionName, [DefaultProtocol, NotNull]MutableString/*!*/ parameterTypes, [DefaultProtocol, NotNull]MutableString/*!*/ returnType) { return self.Reinitialize( GetFunction(libraryName, functionName), MakeSignature(parameterTypes.GetByteCount(), parameterTypes.GetByte), returnType.IsEmpty ? ArgType.None : ToArgType(returnType.GetByte(0)) ); }