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]

Structures

.
Summary
The ADAPTER_STATUS structure contains information about a network adapter via the (NetBIOS) API call. This structure is pointed to by the ncb_buffer member of the NCB structure. ADAPTER_STATUS is followed by as many NAME_BUFFER structures as required to describe the network adapters on the system
2: CIDA
.
Summary
This structure is used with the CFSTR_SHELLIDLIST clipboard format to transfer the pointer to an item identifier list (PIDL) of one or more Shell namespace objects.
.

        public POINT        ptInvoke;                // Point where the command is invoked. This member is not valid prior to Microsoft Internet Explorer 4.0.

.

// And the data itself is pointed to by lpData.

.

// Allocate a pointer to an arbitrary structure on the global heap.

.

// Free a pointer to an arbitrary structure from the global heap.

.

Remember that DATA_BLOB.pbData for the output parameters of the CryptProtectData and CryptUnprotectData functions will point to a block of unmanaged memory that needs to be cleaned up using a call to LocalFree from kernel32. You will of course have to use pinvoke to call LocalFree.

6: DCB
.

    OnePointFive = 1,

.

    var pointer = Marshal.AllocHGlobal(structSize);

.

    Marshal.Copy(debugInfo, 0, pointer, structSize);

.

    var result = Marshal.PtrToStructure(pointer, typeof(T));

.

    Marshal.FreeHGlobal(pointer);

.

    /// Point structure that receives the minimum size of the band object.

.

    public Point ptMinSize;

.

    /// Point structure that receives the maximum size of the band object.

.

    public Point ptMaxSize;

.

    /// Point structure that receives the sizing step value of the band object.

.

    public Point ptIntegral;

.

    /// Point structure that receives the ideal size of the band object.

.

    public Point ptActual;

.

POINT

.

    public POINTL dmPosition;

.

    Public dmPositionX As Integer ' Using a PointL Struct does not work

.

struct POINTL

.

POINTL was incorrectly declared to use longs instead of ints, this has been fixed.

.

    public POINTL dmPosition;

.

        public int Timeout;                                            // Timeout, in seconds, of this junction point

.

        public Guid GUID;                                            // Guid of this junction point

.

    public IntPtr Clients;    //List of pointers

.

    public System.Drawing.Point ptShadowOffset;

.

   private System.Drawing.Point ptShadowOffset;

.

   public Point ShadowOffset

.

     get { return new Point(ptShadowOffset.X, ptShadowOffset.Y); }

.

       FD_SIZEPOINT     = 0x00000002,

.

       public System.Drawing.Point pointl;

.

    FD_SIZEPOINT = &H2

.

    Public pointl As System.Drawing.Point

.

    //     The storage medium is a stream object identified by an IStream pointer. Use

.

    //     The storage medium is a storage component identified by an IStorage pointer.

.

    '     The storage medium is a stream object identified by an IStream pointer. Use

.

    '     The storage medium is a storage component identified by an IStorage pointer.

.

    '    Pointer to the PROPSPEC structure that specifies a property either by its

.

    [MarshalAs(UnmanagedType.Struct)] public POINTFX gmptGlyphOrigin;

.

POINTFX

.

        public IntPtr pNext;    // point to a GPO

18: GUID
.
Summary
A made-up class that can be used when you need a pointer to a GUID and when you need to be able to pass null.
.
Summary
A made-up class that can be used when you need a pointer to a GUID and when you need to be able to pass null.
.

    public POINT MousePos;

.

            public UInt32 PointerToSymbolTable;

.

    Public PointerToSymbolTable As UInt32

.

      PointerToSymbolTable As Long

.

        public uint AddressOfEntryPoint;

.

        public uint AddressOfEntryPoint;

.

    ''' this entrypoint is called during process initialization and shutdown and  

.

    ''' doesn't directly point to main, WinMain, or DllMain. Rather, it points to  

.

    Public AddressOfEntryPoint As UInt32

.

    '''  A pointer to the first IMAGE_DATA_DIRECTORY structure in the data directory.

.

    ' A pointer to the entry point function, relative to the image base address (The relative virtual

.

    ' entrypoint is called during process initialization and shutdown and during thread creations/

.

    ' destructions.  In most executables, this address doesn't directly point to main, WinMain,

.

    ' or DllMain, rather, it points to runtime library code that calls the aforementioned functions.

.

    AddressOfEntryPoint As Long

.

    ' A pointer to the first IMAGE_DATA_DIRECTORY structure in the data directory.  The number of

.

    ' A pointer to the entry point function, relative to the image base address (The relative virtual

.

    ' entrypoint is called during process initialization and shutdown and during thread creations/

.

    ' destructions.  In most executables, this address doesn't directly point to main, WinMain,

.

    ' or DllMain, rather, it points to runtime library code that calls the aforementioned functions.

.

    AddressOfEntryPoint As Long

.

    ' A pointer to the first IMAGE_DATA_DIRECTORY structure in the data directory.  The number of

.

    public uint AddressOfEntryPoint;

.

    Public AddressOfEntryPoint As UInt32

.

        public UInt32 PointerToRawData;

.

        public UInt32 PointerToRelocations;

.

        public UInt32 PointerToLinenumbers;

.

        /// The section contains data referenced through the global pointer (GP).

.

    Public PointerToRawData As UInt32

.

    Public PointerToRelocations As UInt32

.

    Public PointerToLinenumbers As UInt32

.

This is named "struct" to be consistent with the Windows API name, but it is defined as a class since it is passed as a pointer (AKA reference) in SetWindowsHookEx and CallNextHookEx. Or it can be defined as a struct and passed with ref (ByRef in VB.NET).

.
Summary
Used by the (NetBIOS) function to retrieve the list of LAN Adapters. The LANA_ENUM structure is pointed to by the ncb_buffer member of the NCB structure when an application issues the NCBENUM command.
.

        // Stake a claim to the memory and get a pointer to it.

.

        // Stake a claim to the memory and get a pointer to it.

.
Summary
29: MAPI
.

    /// Pointer to the fully qualified path of the attached file.

.

    /// Pointer to the attachment filename seen by the recipient, which may differ from the filename in

.

    /// Pointer to the attachment file type, which can be represented with a MapiFileTagExt

.

    /// Pointer to an X.400 object identifier indicating the type of the attachment in its original form,

.

    /// Pointer to an X.400 object identifier indicating the form in which the attachment is currently

.

    /// Pointer to the text string describing the message subject,

.

    /// Pointer to a string containing the message text.

.

    /// Pointer to a string indicating a non-IPM type of message.

.

    /// Pointer to a string indicating the date when the message was received.

.

    /// Pointer to a string identifying the conversation thread to which the message belongs.

.

    /// Pointer to a MapiRecipDesc structure containing information about the

.

    /// The number of message recipient structures in the array pointed to by the

.

    /// Pointer to an array of MapiRecipDesc structures, each containing

.

    /// The number of structures describing file attachments in the array pointed to by the

.

    /// Pointer to an array of MapiFileDesc structures, each containing

.

    /// Pointer to the display name of the message recipient or sender.

.

    /// Optional pointer to the recipient or sender's address; this address is provider-specific message

.

    /// For outbound messages, the lpszAddress member can point to an address entered by the user for

.

    /// The format of an address pointed to by the lpszAddress member is [address type][e-mail address].

.

    /// The size, in bytes, of the entry identifier pointed to by the lpEntryID member.

.

    /// Pointer to an opaque entry identifier used by a messaging system service provider to identify the

.

    ''' Pointer to the text string describing the message subject,

.

    ''' Pointer to a string containing the message text.

.

    ''' Pointer to a string indicating a non-IPM type of message.

.

    ''' Pointer to a string indicating the date when the message was received.

.

    ''' Pointer to a string identifying the conversation thread to which the message belongs.

.

    ''' Pointer to a MapiRecipDesc structure containing information about the

.

    ''' The number of message recipient structures in the array pointed to by the

.

    ''' Pointer to an array of MapiRecipDesc structures, each containing

.

    ''' The number of structures describing file attachments in the array pointed to by the

.

    ''' Pointer to an array of MapiFileDesc structures, each containing

.

    ''' Pointer to the fully qualified path of the attached file.

.

    ''' Pointer to the attachment filename seen by the recipient, which may differ from the filename in

.

    ''' Pointer to the attachment file type, which can be represented with a MapiFileTagExt

.

    ''' Pointer to an X.400 object identifier indicating the type of the attachment in its original form,

.

    ''' Pointer to an X.400 object identifier indicating the form in which the attachment is currently

.

    ''' Pointer to the display name of the message recipient or sender.

.

    ''' Optional pointer to the recipient or sender's address; this address is provider-specific message

.

    ''' For outbound messages, the lpszAddress member can point to an address entered by the user for

.

    ''' The format of an address pointed to by the lpszAddress member is [address type> _[e-mail address> _.

.

    ''' The size, in bytes, of the entry identifier pointed to by the lpEntryID member.

.

    ''' Pointer to an opaque entry identifier used by a messaging system service provider to identify the

.

    public POINT ptReserved;

.

    public POINT ptMaxSize;

.

    public POINT ptMaxPosition;

.

    public POINT ptMinTrackSize;

.

    public POINT ptMaxTrackSize;

.

    Dim ptReserved As POINT

.

    Dim ptMaxSize As POINT

.

    Dim ptMaxPosition As POINT

.

    Dim ptMinTrackSize As POINT

.

    Dim ptMaxTrackSize As POINT

.

POINT

.

     private UInt32 cControls;      /* count of controls pmxctrl points to */

.

     private IntPtr pamxctrl;       /* pointer to first MIXERCONTROL array */

.

     /// <summary>count of controls pmxctrl points to</summary>

.

     /// <summary>pointer to first MIXERCONTROL array</summary>

.

    Private cControls As UInt32      '/* count of controls pmxctrl points to */

.

    Private pamxctrl As IntPtr       '/* pointer to first MIXERCONTROL array */

.

    '/// <summary>count of controls pmxctrl points to</summary>

.

    '/// <summary>pointer to first MIXERCONTROL array</summary>

.

struct Point

.

    public Point pt;

.

struct Point

.

    public Point pt;

.

    public POINT pt;

.

    Public pt As POINT

.

POINT

.
See
.

Marshal.SizeOf() refuses to deal the pIID member as it is specified, perhaps because it cannot manage the pointer.

35: NCB
.
Summary
.

    A pointer to a WINDOWPOS structure that contains the size and position values specified in the operation that moved or resized the window.

.

This is defined as a class rather than a structure, so it's only appropriate for passing (by-value) when a pointer to a structure is needed.

.

    public Point pointl;

.

     Public pointl As Point

.

    ''' This member is ignored if lpstrCustomFilter is NULL or points to a NULL string.

.

    ''' The buffer pointed to by lpstrFilter contains pairs of strings that define the filters.

.

    ''' The size, in characters, of the buffer pointed to by lpstrFile.

.

    ''' The size, in characters, of the buffer pointed to by lpstrFileTitle. This member is ignored if lpstrFileTitle is NULL.

.

    ''' in the string pointed to by lpstrFile.

.

    ''' For example, if lpstrFile points to the following string,

.

    ''' The zero-based offset, in characters, from the beginning of the path to the file name extension in the string pointed to by lpstrFile.

.

    ''' A pointer to a hook procedure. This member is ignored unless the Flags member includes the OFN_ENABLEHOOK flag.

.

    public POINT       otmptSubscriptSize;

.

    public POINT       otmptSubscriptOffset;

.

    public POINT       otmptSuperscriptSize;

.

    public POINT       otmptSuperscriptOffset;

.

        Public otmptSubscriptSize As modWin32.POINTAPI

.

        Public otmptSubscriptOffset As modWin32.POINTAPI

.

        Public otmptSuperscriptSize As modWin32.POINTAPI

.

        Public otmptSuperscriptOffset As modWin32.POINTAPI

.

POINT

.

    public IntPtr Pointer;

.

   public POINT ptPaperSize;

.

    Public ptPaperSize As POINT

.

POINT, RECT

43: POINT
.

struct POINTFX {

.

Structure POINTFX

.
Documentation
[POINTFX] on MSDN
.

   /// Pointer to a null-terminated string that specifies the

.

   /// Pointer to a DEVMODE structure that identifies the

.

   /// A pointer to a DEVMODE structure that defines the per-user

.

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

48: RECT
.

   public System.Drawing.Point Location

.

     get { return new System.Drawing.Point(Left, Top); }

.

    Public Property Location() As Point

.

        Return New Point(Left, Top)

.

        Set(ByVal value As Point)

.
Summary
This structure contains reparse point data for a Microsoft reparse point.
.

    Reparse point tag. Must be a Microsoft reparse point tag.

.

    IO_REPARSE_TAG_MOUNT_POINT = (0xA0000003),

.

    // Usage: rpp.exe <TargetDevice> <MountPointPath>

.

        rdb.ReparseTag = (uint)ReparseTagType.IO_REPARSE_TAG_MOUNT_POINT;

.

        // Open the file to with correct access to write the Reparse Point

.

        , EFileAttributes.BackupSemantics | EFileAttributes.OpenReparsePoint

.

        // Set the reparse point.

.

            , EIOControlCode.FsctlSetReparsePoint

.

            Console.WriteLine("Failed to set reparse point: 0x{0:X}", err);

.

        /// The main entry point for the application.

.

     public uint dwCheckPoint;  

.

        public int checkPoint;

.

Estimated time required for a pending start, stop, pause, or continue operation, in milliseconds. Before the specified amount of time has elapsed, the service should make its next call to the SetServiceStatus function with either an incremented dwCheckPoint value or a change in dwCurrentState. If the amount of time specified by dwWaitHint passes, and dwCheckPoint has not been incremented or dwCurrentState has not changed, the service control manager or service control program can assume that an error has occurred and the service should be stopped. However, if the service shares a process with other services, the service control manager cannot terminate the service application because it would have to terminate the other services sharing the process as well.

.

    Dim dwCheckPoint As Int32

.

        public long dwCheckPoint;

.

        myServiceStatus.checkPoint = 1;

.

        myServiceStatus.checkPoint = 0;

.

       public long checkPoint;

.
Summary
The SIGNER_FILE_INFO structure points to the location of an assembly for signing purposes.
.

    //Create pointer to the pdwIndex. This should be a value of zero as suggested by msdn.

.

    //create a pointer to the string containing the assembly file path

.

Ensure that you Free the pointer references used i.e. SUBJECT_SIGNER_INFO.pdwIndex

.

(Or, is it because the size of the Reserved pointer is 4 bytes vs 8 bytes ?)

.

[DllImport("winspool.drv", EntryPoint="StartDocPrinterW", SetLastError=true,

.

[DllImport("winspool.drv", EntryPoint="StartDocPrinterA", SetLastError=true,

.

A MIB_TCPTABLE table that contains all listening (receiving only) TCP endpoints on the machine is returned to the caller.

.

A MIB_TCPTABLE table that contains all connected TCP endpoints on the machine is returned to the caller.

.

A MIB_TCPTABLE table that contains all TCP endpoints on the machine is returned to the caller.

.

A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID that contains all listening (receiving only) TCP endpoints on the machine is returned to the caller.

.

A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID that all connected TCP endpoints on the machine is returned to the caller.

.

A MIB_TCPTABLE_OWNER_PID or MIB_TCP6TABLE_OWNER_PID that all TCP endpoints on the machine is returned to the caller.

.

A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE that contains all listening (receiving only) TCP endpoints on the machine is returned to the caller.

.

A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE that contains all connected TCP endpoints on the machine is returned to the caller.

.

A MIB_TCPTABLE_OWNER_MODULE or MIB_TCP6TABLE_OWNER_MODULE that contains all TCP endpoints on the machine is returned to the caller.

.

    public POINTFX pfxStart;

.

POINTFX

.

   public POINT pt;

.

     IntPtr ptr_pipeinfo = new IntPtr((byte*)ptr_connection.ToPointer()

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


 
Access PInvoke.net directly from VS: