🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #382

How to declare this VB.Net code into C#?

#382
From: Bruno Lovatti
Date: Thu, 12 May 2005 19:34
18 lines
1518 bytes
Public Class win32api


    <DllImport("KERNEL32.DLL", EntryPoint:="RtlMoveMemory", _
       SetLastError:=True, CharSet:=CharSet.Auto, _
       ExactSpelling:=True, _
       CallingConvention:=CallingConvention.StdCall)> _
    Public Shared Sub CopyArrayTo(<[In](), MarshalAs(UnmanagedType.I4)>
ByVal hpvDest As Int32, <[In](), Out()> ByVal hpvSource() As Byte, ByVal
cbCopy As Integer)
        ' Leave function empty
    End Sub



End Class

Thank you.
Technical Details
Message-ID: <4283afb0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.maxwell.syr.edu!newsfeed.icl.net!skynet.be!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,b5f3d83d33ee3299,start
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Bruno Lovatti" <blovatti(remove this)@terra.com.br>
From: "Bruno Lovatti" <blovatti(remove this)@terra.com.br>
Newsgroups: borland.public.csharpbuilder.language.csharp
Subject: How to declare this VB.Net code into C#?
Date: Thu, 12 May 2005 16:34:43 -0300
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
NNTP-Posting-Host: 200.222.220.34
Message-ID: <4283afb0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115926448 200.222.220.34 (12 May 2005 12:34:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.maxwell.syr.edu!newsfeed.icl.net!skynet.be!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail