Display: Cloud | List
Most Popular Tags
Results (220 total) All > vb.net (x) > syntax (x)
VB.NET Declaration (CWPSTRUCT structure (Windows))
<System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)> _Public Structure CWPSTRUCTPublic lParam As IntPtrPublic wParam As IntPtrPublic message As IntegerPublic hWnd As IntPtrEnd Structure
Last modified by Thomas Lee on 7/24/2009 1:28:08 PM
Tags:  syntax  vb.net
Why P/Invoke? (CoTaskMemRealloc function (COM))
Why bother with those P/Invoke methods when you can just call Marshal.ReAllocCoTaskMem?
Last modified by joechung on 6/7/2009 12:42:51 PM
Tags:  c#  syntax  vb.net
Why P/Invoke? (CoTaskMemAlloc function (COM))
Why bother with those P/Invoke methods when you can just call Marshal.AllocCoTaskMem? dmex: for example, you would use these P/Invoke methods if you wanted to change the return of Marshal.AllocCoTaskMem to a SafeBuffer to ensure all allocations are freed.
Last modified by dmex on 10/16/2010 6:24:26 AM
Tags:  c#  syntax  vb.net
Why P/Invoke? (CoTaskMemFree function (COM))
Why bother with those P/Invoke methods when you can just call Marshal.FreeCoTaskMem?
Last modified by joechung on 6/7/2009 12:39:42 PM
Tags:  c#  syntax  vb.net
vb.net syntax (CoGetMalloc function (COM))
<DllImport("ole32.dll")> _Public Shared Function CoGetMalloc(ByVal dwReserved As Integer, <Out> ByRef pMalloc As IMalloc) As Integer End Function
Last modified by dmex on 5/20/2009 2:06:42 PM
Tags:  syntax  vb.net
vb.net syntax (DwmExtendFrameIntoClientArea function (Windows))
<DllImport("dwmapi.dll")> _ Public Shared Function DwmExtendFrameIntoClientArea(ByVal hWnd As IntPtr, ByRef pMarInset As Margin) As Integer End Function
Last modified by dmex on 5/20/2009 10:57:55 AM
Tags:  syntax  vb.net
vb.net syntax (DwmEnableMMCSS function (Windows))
<DllImport("dwmapi.dll")> _ Public Shared Function DwmEnableMMCSS(ByVal fEnable As Boolean) As Integer End Function
Last modified by dmex on 5/20/2009 10:56:33 AM
Tags:  syntax  vb.net
vb.net syntax (ITaskbarList interface (Windows))
<ComImport(), InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("56FDF342-FD6D-11D0-958A-006097C9A090")> _Public Interface ITaskbarList Sub HrInit() Sub AddTab(<[In]()> ByVal hwnd As IntPtr) Sub DeleteTab(<[In]()> ByVal hwnd As IntPtr) Sub ActivateTab(<[In]()> ByVal hwnd As IntPtr) Sub SetActivateAlt(<[In]()> ByVal hwnd As IntPtr) End Interface
Last modified by dmex on 5/20/2009 2:10:50 PM
Tags:  syntax  vb.net
vb.net syntax (SetThreadAffinityMask function (Windows))
<DllImport("kernel32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _Public Shared Function SetThreadAffinityMask(ByVal handle As IntPtr, ByVal mask As HandleRef) As IntPtr End Function
Last modified by dmex on 5/13/2009 1:37:27 AM
Tags:  syntax  vb.net
vb.net syntax (SetProcessWorkingSetSize function (Windows))
<DllImport("kernel32.dll", CharSet:=CharSet.Auto, SetLastError:=True)> _Public Shared Function SetProcessWorkingSetSize(ByVal handle As IntPtr, ByVal min As IntPtr, ByVal max As IntPtr) As Boolean End Function
Last modified by dmex on 5/13/2009 1:32:18 AM
Tags:  syntax  vb.net
Page view tracker