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
Download Visual Studio Add-In

Search Results for "POINT" in [All]

Enums

.

/// For use with ChildWindowFromPointEx

.

public enum WindowFromPointFlags

.

Enum ChildWindowFromPointFlags

.
Documentation
[ChildWindowFromPointFlags] on MSDN
.

        /// Retrieves the dimensions, in tenths of a millimeter, of each supported paper size. The pOutput buffer receives an array of POINT structures. Each structure contains the width (x-dimension) and length (y-dimension) of a paper size as if the paper were in the DMORIENT_PORTRAIT orientation. The return value indicates the number of entries in the array.

.

    FILE_DEVICE_POINT_OF_SERVICE = 0x54,

.

    FILE_DEVICE_POINT_OF_SERVICE = &H54

4: DLGC
.

    /// <summary> Control processes the message in the MSG structure that lParam points to. </summary>

.

     /// A file or directory that has an associated reparse point, or a file that is a symbolic link.

.

     ReparsePoint = 0x00000400,

.

    ''' A file or directory that has an associated reparse point, or a file that is a symbolic link.

.

    ReparsePoint = &H400

.

    /// Treat reparse points as objects, not containers

.

    ''' Treat reparse points as objects, not containers

.

    /// The file system supports reparse points.  

.

    FILE_SUPPORTS_REPARSE_POINTS    = 0x00000080,

.

    ///Invalid pointer

.

    [Description("Invalid pointer")]

.

    public const int E_POINTER = unchecked((int)0x80004003);

.

    ///Invalid pointer error.

.

    [Description("Invalid pointer error.")]

.

    public const int STG_E_INVALIDPOINTER = unchecked((int)0x80030009);

.

    ///An invalid root block pointer was specified

.

    [Description("An invalid root block pointer was specified")]

.

    ///An allocation chain contained an invalid link pointer

.

    [Description("An allocation chain contained an invalid link pointer")]

.

    ///The operation involving unsigned file copying was rolled back, so that a system restore point could be set.

.

    [Description("The operation involving unsigned file copying was rolled back, so that a system restore point could be set.")]

.

    public const int SPAPI_E_SET_SYSTEM_RESTORE_POINT = unchecked((int)0x800F0236);

.

    ///There was an error trying to set the smart card file object pointer.

.

    [Description("There was an error trying to set the smart card file object pointer.")]

.

    '''Invalid pointer

.

    <Description("Invalid pointer")> _

.

    Public Const E_POINTER As Integer = CInt(&H80004003UI)

.

    '''Invalid pointer error.

.

    <Description("Invalid pointer error.")> _

.

    Public Const STG_E_INVALIDPOINTER As Integer = CInt(&H80030009UI)

.

    '''An invalid root block pointer was specified

.

    <Description("An invalid root block pointer was specified")> _

.

    '''An allocation chain contained an invalid link pointer

.

    <Description("An allocation chain contained an invalid link pointer")> _

.

    '''The operation involving unsigned file copying was rolled back, so that a system restore point could be set.

.

    <Description("The operation involving unsigned file copying was rolled back, so that a system restore point could be set.")> _

.

    Public Const SPAPI_E_SET_SYSTEM_RESTORE_POINT As Integer = CInt(&H800f0236UI)

.

    '''There was an error trying to set the smart card file object pointer.

.

    <Description("There was an error trying to set the smart card file object pointer.")> _

9: LB_
.

    ///   lParam-A pointer to the null-terminated string that is to be added. If the list box has an owner-drawn style but not the LBS_HASSTRINGS style, this parameter is stored as item data instead of a string. You can send the LB_GETITEMDATA and LB_SETITEMDATA messages to retrieve or modify the item data.

.

    ///  lParam-A pointer to a buffer large enough for the number of integers specified by the wParam parameter.

.

    ///   lParam A pointer to the null-terminated string that contains the prefix for which to search. The search is case independent

.

    ///  lParam A pointer to the null-terminated string that contains the string for which to search. The search is case independent, so this string can contain any combination of uppercase and lowercase letters.

.

    ///  lParam A pointer to the buffer that will receive the string; The buffer must have sufficient space for the string and a terminating null character.

.

    '   lParam-A pointer to the null-terminated string that is to be added. If the list box has an owner-drawn style but not the LBS_HASSTRINGS style, this parameter is stored as item data instead of a string. You can send the LB_GETITEMDATA and LB_SETITEMDATA messages to retrieve or modify the item data.

.

    '  lParam-A pointer to a buffer large enough for the number of integers specified by the wParam parameter.

.

    '   lParam A pointer to the null-terminated string that contains the prefix for which to search. The search is case independent

.

    '  lParam A pointer to the null-terminated string that contains the string for which to search. The search is case independent, so this string can contain any combination of uppercase and lowercase letters.

.

    '  lParam A pointer to the buffer that will receive the string; The buffer must have sufficient space for the string and a terminating null character.

.

    Breakpoint = 0x80000003,

.

    EntryPointNotFound = 0xc0000139,

.

        /// <summary>620. No endpoints could be determined. </summary>

.

        ERROR_NO_ENDPOINTS,

.

        /// <summary>825. Point-to-Point Tunneling Protocol (PPTP) is incompatible with IPv6. Change the type of virtual private network to Layer Two Tunneling Protocol (L2TP). </summary>

.

  [DllImport("advapi32.dll", EntryPoint = "SetSecurityInfo", CallingConvention = CallingConvention.Winapi,

.

  [DllImport("advapi32.dll", EntryPoint = "SetNamedSecurityInfoW", CallingConvention = CallingConvention.Winapi,

.

      '''Changes the cursor to a question mark with a pointer. If the user

.

        /// The number of pixels on either side of a mouse-down point that the mouse pointer can move before a drag operation begins.

.

        /// If this value is negative, it is subtracted from the left of the mouse-down point and added to the right of it.

.

        /// The number of pixels above and below a mouse-down point that the mouse pointer can move before a drag operation begins.

.

        /// If this value is negative, it is subtracted from above the mouse-down point and added below it.

.

    ''' Width of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins in pixels.

.

    ''' Height of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins. This value is in pixels. It allows the user to click and release the mouse button easily without unintentionally starting a drag operation.

.

    /// Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint, AccessibleObjectFromEvent, or AccessibleObjectFromWindow. However, server applications handle this message.

.

    '''Active Accessibility sends the WM_GETOBJECT message to obtain information about an accessible object contained in a server application. Applications never send this message directly. It is sent only by Active Accessibility in response to calls to AccessibleObjectFromPoint AccessibleObjectFromEvent or AccessibleObjectFromWindow. However server applications handle this message.

.

    ''' A pointer to the buffer that is to receive the text.

.

    ''' A pointer to a null-terminated string that is the window text.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' or in response to a call to a function such as <c>WindowFromPoint</c>.

.

    ''' A pointer to a <see cref="Win32.Types.Rect"/> structure with the screen coordinates of the drag rectangle.

.

    ''' A pointer to a <c>WINDOWPOS</c> structure that contains information about the window's new size and position.

.

    ''' A <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A pointer to a <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A pointer to a <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

    ''' A pointer to a <c>POINTS</c> structure that contains the x- and y-coordinates of the cursor.

.

        /// The main entry point for the application.

.

    /// the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.

.

    ''' the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.

.

    /// the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.

.

    ''' the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.

comdlg32

.

[DllImport("comdlg32.dll", CharSet = CharSet.Auto, EntryPoint = "ChooseFont", SetLastError=true)]

.

     public int iPointSize;

.

The dwContext parameter is declared as an IntPtr because the original declaration was as a DWORD_PTR, which is noted to be the size of a native pointer on the platform.

irprops

.

    [DllImportAttribute("irprops.cpl", EntryPoint="BluetoothEnableDiscovery", SetLastError=true)]

.

    /// <param name="pbtfrp">Pointer to a BLUETOOTH_FIND_RADIO_PARAMS structure</param>

.

    /// <param name="phRadio">Pointer to where the first enumerated radio handle will be returned. When no longer needed, this handle must be closed via CloseHandle.</param>

comctl32

.
Summary
Enters the control in 'ReaderMode' a mouse scrolling mode that allows you to scroll in any direction by moving the mouse pointer. Callbacks are used to inform the control of the offset it should scroll. The Control is responsible for updating the scroll position. The function must be passed the READERMODEINFO structure. This function has no public header and must be referenced as ordinal 383, as per MSDN documentation.
.

     <DllImport("Comctl32.dll", EntryPoint:="#383", _

.

<DllImport("Comctl32.dll", EntryPoint:="#383", _

.

[DllImport( "comctl32.dll", EntryPoint = "InitCommonControlsEx", CallingConvention = CallingConvention.StdCall)]

.

    /// <param name="taskConfig">A pointer to a <see cref="TaskDialogConfig"/> structure that contains information used to display the task dialog.</param>

.

    /// <param name="taskConfig">A pointer to a <see cref="TaskDialogConfig"/> structure that contains information used to display the task dialog.</param>

shell32

.

    // pointer logic and were removed.

.

            // ptrToSplitArgs is an array of pointers to null terminated Unicode strings.

27: CSIDL
.

    /// SHGetSpecialFolderLocation, and SHGetSpecialFolderPath, to retrieve a special folder's path or pointer

.
Summary
.

static extern bool DragQueryPoint(IntPtr hDrop, out POINT lppt);

.

POINT

.
Documentation
[DragQueryPoint] on MSDN
.

If the icon is extracted from an associated executable file, the function stores the full path and file name of the executable file in the string pointed to by lpIconPath, and stores the icon's identifier in the WORD pointed to by lpiIcon.

.

in Pointer to a string that specifies the full path and file name of the file that contains the icon. The function extracts the icon handle from that file, or from an executable file associated with that file. If the icon handle is obtained from an executable file, the function stores the full path and file name of that executable in the string pointed to by lpIconPath.

.

in, out Pointer to a WORD that specifies the index of the icon whose handle is to be obtained. If the icon handle is obtained from an executable file, the function stores the icon's identifier in the WORD pointed to by lpiIcon.

.

out Pointer to an array of icon handles that receives handles to the large icons extracted from the file. If this parameter is NULL, no large icons are extracted from the file.

.

out Pointer to an array of icon handles that receives handles to the small icons extracted from the file. If this parameter is NULL, no small icons are extracted from the file.

.

    [DllImport("user32.dll", EntryPoint="DestroyIcon", SetLastError=true)]

.

    <DllImport("user32.dll", EntryPoint:="DestroyIcon", SetLastError:=True)> _

.

out Pointer to an array of icon handles that receives handles to the large icons extracted from the file. If this parameter is NULL, no large icons are extracted from the file.

.

out Pointer to an array of icon handles that receives handles to the small icons extracted from the file. If this parameter is NULL, no small icons are extracted from the file.

.

    [DllImport("user32.dll", EntryPoint="DestroyIcon", SetLastError=true)]

.

    <DllImport("user32.dll", EntryPoint:="DestroyIcon", SetLastError:=True)> _

.

        [DllImport("shell32.dll", EntryPoint="FindExecutable")]

.

        /// <i>dwItem1</i> contains the previous pointer to an item identifier list (PIDL) or name of the folder.

.

    ' <i>dwItem1</i> contains the previous pointer to an item identifier list (PIDL) or name of the folder.

.

    /// <param name="cButtons">The number of buttons defined in the array pointed to by pButton. The maximum

.

    /// <param name="pButton">A pointer to an array of THUMBBUTTON structures. Each THUMBBUTTON defines an

.

    /// <param name="pszDescription">A pointer to a string that provides an alt text version of the

.

    /// Specifies or updates the text of the tooltip that is displayed when the mouse pointer rests on an

.

    /// <param name="pszTip">The pointer to the text to be displayed in the tooltip. This value can be NULL,

.

    /// <param name="prcClip">A pointer to a RECT structure that specifies a selection within the window's

.

[DllImport("shell32.dll", EntryPoint="PathCleanupSpec", CharSet=CharSet.Unicode)]

.

<DllImport("shell32.dll", EntryPoint:="PathCleanupSpec", CharSet:=CharSet.Unicode)> _

.

/// <param name="szfile">A pointer to a null-terminated, Unicode string that contains the file path, which includes the name of the file.</param>

.

[DllImport("shell32.dll", EntryPoint = "PathIsExeW",  SetLastError = True, CharSet = CharSet.Unicode)]

.

''' <param name="szfile">A pointer to a null-terminated, Unicode string that contains the file path, which includes the name of the file.</param>

.

<DllImport("shell32.dll", EntryPoint:="PathIsExeW",  SetLastError:=True, CharSet:=CharSet.Unicode)> _

.

[DllImport("shell32.dll", EntryPoint="PathMakeUniqueName", CharSet=CharSet.Unicode)]

.

<DllImport("shell32.dll", EntryPoint:="PathMakeUniqueName", CharSet:=CharSet.Unicode)> _

.

[DllImport("shell32.dll", EntryPoint="PathYetAnotherMakeUniqueName", CharSet=CharSet.Unicode)]

.

For older systems such as Windows 2000 that do not have the entry point

.

[DllImport("shell32.dll", EntryPoint="#75", CharSet=CharSet.Unicode)]

.

<DllImport("shell32.dll", EntryPoint:="PathYetAnotherMakeUniqueName", CharSet:=CharSet.Unicode)> _

39: Run
.

[DllImport("shell32.dll", EntryPoint = "ShellExecute")]

.

Can use IntPtr Pointer HWND or integer value int frist line.

.

///         pointed to by pData is set to TRUE to activate or FALSE to deactivate.

.

///     C++ ( pData [in, out] Type: PAPPBARDATA )<br /> A pointer to an APPBARDATA structure. The content

.

<DllImport("shell32.dll", SetLastError:=true, EntryPoint:="SHBrowseForFolderW", CharSet:=CharSet.Unicode)> _

.

[DllImport("shell32.dll", SetLastError=true, EntryPoint="#4", CharSet=CharSet.Auto)]

.

[DllImport("shell32.dll", SetLastError=true, EntryPoint="#2", CharSet=CharSet.Auto)]

.

[DllImport("shell32.dll", EntryPoint = "#2", CharSet = CharSet.Auto)]

.

[DllImport("shell32.dll", SetLastError=true, EntryPoint="#4", CharSet=CharSet.Auto)]

.

            FOF_NORECURSEREPARSE = 0x8000,  // treat reparse points as objects, not containers

.

[DllImport("shell32.dll", EntryPoint = "#727")]

.

    private struct POINT

.

        ref POINT ppt,

.

        ref POINT pptHotspot,

.

The IImageList pointer type, such as that returned in the ppv parameter, can be cast as an HIMAGELIST as needed; for example, for use in a list view. Conversely, an HIMAGELIST can be cast as a pointer to an IImageList.

.

<System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="SHGetNameFromIDList")> _

.

    <System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="ILFree")> _

.

    <System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="SHGetNameFromIDList")> _

.

    <System.Runtime.InteropServices.DllImportAttribute("shell32.dll", EntryPoint:="SHParseDisplayName")> _

.

<DllImport("shell32.dll", EntryPoint:="SHGetPathFromIDListW", SetLastError:=true, CharSet:=CharSet.Unicode)> _

.

/// <param name="psf">[in] Pointer to an instance of IShellFolder whose simple pointer to an item identifier list (PIDL) is to be converted.</param>

.

/// <param name="pidlReal">[out] Pointer to the full converted PIDL. If the function fails, this parameter is set to NULL.</param>

.

        /// The main entry point for the application.

.

    SHOP_PRINTERNAME = &H1  '// lpObject points to a printer friendly name

.

    SHOP_FILEPATH = &H2  '// lpObject points to a fully qualified path+file name

.

    SHOP_VOLUMEGUID = &H4  '// lpObject points to a Volume GUID

.

    SHOP_PRINTERNAME = &H1  '// lpObject points to a printer friendly name

.

    SHOP_FILEPATH = &H2  '// lpObject points to a fully qualified path+file name

.

    SHOP_VOLUMEGUID = &H4  '// lpObject points to a Volume GUID

.

    [DllImport("shell32.dll", EntryPoint = "SHOpenWithDialog", CharSet = CharSet.Unicode)]

.

           OAIF_FILE_IS_URI =     0x00000080    // Win8+: The location pointed to by the pcszFile parameter is given as a URI

.
Summary
Translates a Shell namespace object's display name into an item identifier list and returns the attributes of the object. This function is the preferred method to convert a string to a pointer to an item identifier list (PIDL).
.

It will return null pointer if the specfied file name does not exist

.
Summary
Translates a Shell namespace object's display name into an item identifier list and returns the attributes of the object. This function is the preferred method to convert a string to a pointer to an item identifier list (PIDL).
.

        /// for an uninterrupted presentation, such as a set of PowerPoint slides, with a single click.

.

[DllImport("shell32.dll", CharSet=CharSet.Auto, EntryPoint="#61", SetLastError=true)]

winfax

.

[DllImport("winfax.dll", SetLastError = true, EntryPoint = "FaxCompleteJobParamsW")]

.

[DllImport("winfax.dll", SetLastError = true, EntryPoint = "FaxCompleteJobParamsW")]

.

Be careful ! Don't miss the EntryPoint attribute, beacause string in structures will be in bad format (ANSI).

dwmapi

.

[DllImport("dwmapi.dll", EntryPoint = "#127", PreserveSig = false)]

.

    [DllImport("dwmapi.dll", EntryPoint = "#127", PreserveSig = false)]

.

    [DllImport("dwmapi.dll", EntryPoint = "#131", PreserveSig = false)]

.

    [DllImport("dwmapi.dll", EntryPoint = "#131", PreserveSig = false)]

rasapi32

.

<DllImport("rasapi32.dll", EntryPoint:="RasEnumEntries", CharSet:=CharSet.Auto)> _

Cut off search results after 60. Please refine your search.


 
Access PInvoke.net directly from VS: