API declaration in C# to be converted into VB.NET - HELP !!!

A

Ahmed Jewahar

Dear All,

Below code I found in a post which bit older. I really appreciate if any
of you could help me out to convert into VB.NET.


Declare the API function.
---------------------------

[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]
private static extern bool BitBlt(
IntPtr hdcDest,
int nXDest,
int nYDest,
int nWidth,
int nHeight,
IntPtr hdcSrc,
int nXSrc,
int nYSrc,
System.Int32 dwRop)
 
H

Herfried K. Wagner [MVP]

Ahmed Jewahar said:
Below code I found in a post which bit older. I really appreciate if any
of you could help me out to convert into VB.NET.


Declare the API function.

\\\
Private Declare Function BitBlt Lib "Gdi32.dll" ( _
ByVal hdcDest As IntPtr, _
ByVal nXDest As Int32, _
ByVal nYDest As Int32, _
ByVal nWidth As Int32, _
ByVal nHeight As Int32, _
ByVal hdcSrc As IntPtr, _
ByVal nXSrc As Int32, _
ByVal nYSrc As Int32, _
ByVal dwRop As Int32, _
) As Boolean
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top