vb.net - What is "ShowWindow Lib "user32" " about? -


I was seeing a code that was written by another developer and found:

  Private Announcement Function ShowWindow Lib "user32" (In the form of an interputer, as an interrupt in the form of HTML, handle NLM as integer) integer function as the personal announcement function SetForeganWindow Lib "user32" (in the form of interpetric Byte Wide handle) as an integer  

What does this and what is it for?

These PInvoke declarations are those that represent the functions present in the c libraries and are defined as That is to allow them to be told with VBNET. For example, the ShowWindow user is an announcement of the Win32 ShowWindow function present in 32.dll. Calling this stub will call the C function.

ShowWindow:

This specific style of declaration is known as DL Declaration. The more common syntax is to use DllImport and Share methods (mainly because its 'compatible with enhancements'). The DllDeclare syntax is a container in many ways from VB6 style interop.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -