memset (msvcrt)
Last changed: -80.187.102.241

.
Summary
Sets the first count characters of dest to the character c.

C# Signature:

[DllImport("msvcrt.dll", EntryPoint = "memset", CallingConvention = CallingConvention.Cdecl, SetLastError = false)]
public static extern IntPtr MemSet(IntPtr dest, int c, int byteCount);

VB Signature:

<DllImport("msvcrt.dll", EntryPoint := "memset", CallingConvention := CallingConvention.Cdecl, SetLastError := False)> _
Public Shared Function MemSet(dest As IntPtr, c As Integer, byteCount As Integer) As IntPtr
End Function

Return Value:

The value of dest.

Parameters:

dest - Pointer to destination.

c - Character to set.

byteCount - Number of bytes.

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation
memset on MSDN