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, IntPtr count);

VB Signature:

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

Return Value:

The value of dest.

Parameters:

dest - Pointer to destination.

c - Character to set.

count - Number of characters.

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