Hello,
i have the following function declaretion and documentation. But if run
doxygen 1.5.1-p1, i get the error message "...\FTDI2XX.cs:288 Warning member
with no name found". How must i comment the c# attribute DllImport?
Best regards,
Daniel
/// <summary>
/// Write data to the device.
/// </summary>
/// <param name="ftHandle">Handle of the device.</param>
/// <param name="lpBuffer">Pointer to the buffer that contains the data to
be written to the device.</param>
/// <param name="nBufferSize">Number of bytes to write to the
device.</param>
/// <param name="lpBytesWritten">Pointer to a variable of type DWORD which
receives the number of bytes written to the device.</param>
/// <returns>FT_OK if successful, otherwise the return value is an FT error
code.</returns>
[DllImport("FTD2XX.dll")]
unsafe private static extern int FT_Write(IntPtr ftHandle, byte[] lpBuffer,
UInt32 nBufferSize, ref IntPtr lpBytesWritten);
|