473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

p/invoke user32

r
Hi,
Could someone please direct me in the right direction?
I would like to p/invoke few functions from user32:

DrawAnimatedRects
FindWindow, FindWindowEx , GetWindowRect

struct RECT

how do you usually get the functions headers, how do you know how to
p/invoke and what is the syntax in csharp for that?

thanks ina advance

Nov 17 '05 #1
1 1988
Go to http://www.pinvoke.net and look for the functions there... they have
thousands of Win32 functions with all the p/invoke stuff you need :-)

Wholesome p/invoke Goodness!

--
Brian Delahunty
Ireland

http://briandela.com/blog
"r" wrote:
Hi,
Could someone please direct me in the right direction?
I would like to p/invoke few functions from user32:

DrawAnimatedRects
FindWindow, FindWindowEx , GetWindowRect

struct RECT

how do you usually get the functions headers, how do you know how to
p/invoke and what is the syntax in csharp for that?

thanks ina advance

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tom J | last post by:
Why does the following cause an EntryPointNotFoundException when I do ExitWindows(0,0); ? >>>>>>>>>>>>>> static extern bool ExitWindows(ulong dwReserved, uint uReserved); ...
1
by: Craig | last post by:
I'm trying to figure out the fastest/easiest way of sending text to another application. I've got the SendInput and keybd_event methods working well enough... is one better than the other? Is...
3
by: Anton | last post by:
Where is the command for making a system beep (to indicate an error)?
2
by: Dan | last post by:
Sorry if this post may sound a bit off-topic, but I could not find a specialized newsgroup. I have created a dotnet 2.0 library containing some user controls and written in C#. One of the controls...
2
by: garyusenet | last post by:
For example i'm told the following is an example of P/Invoke: - static extern Boolean MessageBeep(UInt32 beepType); but i see no mention of Pinvoke in this code, where does the name...
1
by: Dave | last post by:
Hello, I have little experience with VB or .Net in general but have a DLL control written in C++ using MFC -- it is a graphical routine that takes place primarily in OnPaint. Is there a way to...
2
by: yuhongbao_386 | last post by:
Is using Reverse P/Invoke in a .NET DLL for installing global hooks supported?
2
by: =?Utf-8?B?TXJOb2JvZHk=?= | last post by:
I am trying to find a good example of SendInput. Doing a search on google I found two, one is incomplete and vague from the start and the other I copied the code and tried running it and it was...
1
by: jr | last post by:
I'm writing a .net application that will update several textboxes and comboboxes on a 2nd app (3rd party-no source). I have the part that is updating the textboxes and comboboxes working pretty...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.