Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "GetWindowLongPtr" in [All]

Enums

.
Summary

user32

.
Summary
.

static extern IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex);

.

Private Shared Function GetWindowLongPtr(ByVal hWnd As HandleRef, <MarshalAs(UnmanagedType.I4)>nIndex As WindowLongFlags) As IntPtr

.

[DllImport("user32.dll", EntryPoint="GetWindowLongPtr")]

.

private static extern IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex);

.

<DllImport("user32.dll", EntryPoint:="GetWindowLongPtr")> _

.

Private Shared Function GetWindowLongPtr(ByVal hWnd As HandleRef, <MarshalAs(UnmanagedType.I4)>nIndex As WindowLongFlags) As IntPtr

.

private static extern IntPtr GetWindowLongPtr32(IntPtr hWnd, int nIndex);

.

[DllImport("user32.dll", EntryPoint="GetWindowLongPtr")]

.

private static extern IntPtr GetWindowLongPtr64(IntPtr hWnd, int nIndex);

.

// GetWindowLongPtr directly

.

public static IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex)

.

     return GetWindowLongPtr64(hWnd, nIndex);

.

     return GetWindowLongPtr32(hWnd, nIndex);

.

Private Shared Function GetWindowLongPtr32(ByVal hWnd As HandleRef, ByVal nIndex As Integer) As IntPtr

.

<DllImport("user32.dll", EntryPoint:="GetWindowLongPtr")> _

.

Private Shared Function GetWindowLongPtr64(ByVal hWnd As HandleRef, ByVal nIndex As Integer) As IntPtr

.

' This static method is required because Win32 does not support GetWindowLongPtr dirctly

.

Public Shared Function GetWindowLongPtr(ByVal hWnd As HandleRef, ByVal nIndex As Integer) As IntPtr

.

      Return GetWindowLongPtr64(hWnd, nIndex)

.

      Return GetWindowLongPtr32(hWnd, nIndex)

.

     result = GetWindowLongPtr(winhandle, GWL.GWL_ID);

.
Documentation
[GetWindowLongPtr] on MSDN
.
Summary
.

static extern IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex);

.

Private Shared Function GetWindowLongPtr(ByVal hWnd As HandleRef, <MarshalAs(UnmanagedType.I4)>nIndex As GWL) As IntPtr

.

[DllImport("user32.dll", EntryPoint="GetWindowLongPtr")]

.

private static extern IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex);

.

<DllImport("user32.dll", EntryPoint:="GetWindowLongPtr")> _

.

Private Shared Function GetWindowLongPtr(ByVal hWnd As HandleRef, <MarshalAs(UnmanagedType.I4)>nIndex As GWL) As IntPtr

.

private static extern IntPtr GetWindowLongPtr32(IntPtr hWnd, int nIndex);

.

[DllImport("user32.dll", EntryPoint="GetWindowLongPtr")]

.

private static extern IntPtr GetWindowLongPtr64(IntPtr hWnd, int nIndex);

.

// GetWindowLongPtr directly

.

public static IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex)

.

     return GetWindowLongPtr64(hWnd, nIndex);

.

     return GetWindowLongPtr32(hWnd, nIndex);

.

Private Shared Function GetWindowLongPtr32(ByVal hWnd As HandleRef, ByVal nIndex As Integer) As IntPtr

.

<DllImport("user32.dll", EntryPoint:="GetWindowLongPtr")> _

.

Private Shared Function GetWindowLongPtr64(ByVal hWnd As HandleRef, ByVal nIndex As Integer) As IntPtr

.

' This static method is required because Win32 does not support GetWindowLongPtr dirctly

.

Public Shared Function GetWindowLongPtr(ByVal hWnd As HandleRef, ByVal nIndex As Integer) As IntPtr

.

      Return GetWindowLongPtr64(hWnd, nIndex)

.

      Return GetWindowLongPtr32(hWnd, nIndex)

.

     result = GetWindowLongPtr(winhandle, GWL.GWL_ID);

.
Documentation
[GetWindowLongPtr] on MSDN
.

// to the correct function (GetWindowLong in 32-bit mode and GetWindowLongPtr in 64-bit mode)


 
Access PInvoke.net directly from VS: