ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WinAPI DLLs Documentation

Hi,
 
I recently discovered the immense power of the DLLs User.dll, Winmm.dll, Comctl32.dll, and GDI32.dll, all located under system32 in WINNT.  Smiley Surprised  I looked at the functions that they perform and want to use them, but there is very little documentation on their overall funtion and how to set up (in my case) a DLL Interface Node.  Smiley Sad  Does someone know of webpages or have documentation that would tell me:
 
Their basic funtion and usage
Configuration settings.
 
I would greatly appreciate some help!  Thanks.  Smiley Happy
 
7J1L1M

Message Edited by 7J1L1M on 11-10-2006 01:49 PM

0 Kudos
Message 1 of 13
(5,313 Views)
Try here.  I've found their developer network/help stuff a bit clunky, so be prepared for a bit of digging.  This should be a good start though.
0 Kudos
Message 2 of 13
(5,298 Views)

You might also want to take a look at the lvwutil32.zip, available from NI. It contains a bunch of functions using those DLLs.

 
0 Kudos
Message 3 of 13
(5,293 Views)
"I've found their developer network/help stuff a bit clunky, so be prepared for a bit of digging"

Just to make this clear...  I'm referring to Microsoft's DN, not NI's.  NI's is pretty good 🙂
0 Kudos
Message 4 of 13
(5,289 Views)

Thanks.  What about the cursor, icon, and tranlucency commands in User32.DLL?

7J1L1M

0 Kudos
Message 5 of 13
(5,282 Views)
Search this forum and the general NI site. Examples exist.
0 Kudos
Message 6 of 13
(5,278 Views)

Thanks.

BTW, write now I am trying to find a funtion that writes a cursor/icon after using the "CreateIcon" or "CreateCursor."  This is one of the main reasons I want to use User32.DLL.  In other words, I'm working on "ReadIcon," "ReadCursor," "WriteIcon," and "WriteCursor" commands.  Any suggestions?

Thanks,

7J1L1M

0 Kudos
Message 7 of 13
(5,274 Views)

Get a book, for example, Charles Petzold's Programming Windows the definitive guide to Win32 API.

http://www.amazon.com/Programming-Windows-Fifth-Charles-Petzold/dp/157231995X

 

George Zou

http://gtoolbox.yeah.net

George Zou
0 Kudos
Message 8 of 13
(5,269 Views)

Hay again,

I am finally figuring out some of the DLL stuff.  Right now I'm working on a right-click menu that comes from User32.DLL, but I'm having trouble defining one of the datatypes.  Could you help me?  The first link below is a link to the function I'm using, and the second defines the datatype I'm working on.  If you can figure it out, would you send it to me as a ctl file?  Thanks.

7J1L1M

Definition of function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/re...

Definition of datatype: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/re...

0 Kudos
Message 9 of 13
(5,256 Views)

Hay again,

I finally found that if you put the correct files into the same directory as the DLL, then the "Call Library Function Node" automatically configures itself.  So what files would I put with say USER32.DLL so when I open it in the Library Function Node, it automatically configures?  Everytime I try to manually do so, I always mess up.  I would greatly appreciate help in this area.

7J1L1M

P.S.  I am using LabVIEW 7.1

0 Kudos
Message 10 of 13
(5,154 Views)