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 "POINT" in [All]

Delegates

.

You can use any data type for lParam if it is 'ref', since as a 'ref' it is already being passed as a pointer.

.

The PTIMERAPCROUTINE type defines a pointer to this callback function. TimerAPCProc is a placeholder for the application-defined function name.

.

''' The PTIMERAPCROUTINE type defines a pointer to this callback function. TimerAPCProc is a placeholder for the application-defined function name.

.
Summary
The TimerEventHandler Callback Function. An application-defined callback function that processes WM_TIMER messages. The TIMERPROC type defines a pointer to this callback function. TimerProc is a placeholder for the application-defined function name
.

The TIMERPROC type defines a pointer to this callback function. TimerProc is a placeholder for the application-defined function name

mpr

.

  //    [DllImport("Mpr.dll", EntryPoint="WNetAddConnection2", CallingConvention=CallingConvention.Winapi)]

ipaqutil

.

According to http://www.high-point.com/RadioControl.htm

.

According to http://www.high-point.com/RadioControl.htm

.

[DllImport("iPAQUtil.dll", EntryPoint = "iPAQGetSerialNumber")]

.

According to http://www.high-point.com/RadioControl.htm

.

According to http://www.high-point.com/RadioControl.htm

mqrt

.

            //Get a pointer to the SD

cfgmgr32

.

    EntryPoint:="CM_Enumerate_Classes", _

.

     InvalidPointer = 0x00000003,

.

    EntryPoint:="CM_Open_DevNode_Key", _

.

vetoType, If not NULL, this points to a location that, if the removal request fails, receives a PNP_VETO_TYPE-typed value indicating the reason for the failure.

.

vetoName, If not NULL, this is a caller-supplied pointer to a string buffer that receives a text string. The type of information this string provides is dependent on the value received by pVetoType. For information about these strings, see PNP_VETO_TYPE.

twain_32

.

[DllImport("twain_32.dll", EntryPoint="#1")]

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>

Interfaces

.

        // Pointer to the IUnknown interface of the string list object that

.

        // Pointer to an optional null-terminated Unicode string that gives

.

        // Pointer to an optional string that specifies the format to be

.

        E_POINTER = 0x80004003,

.

        // IConnectionPoint errors

.

        /// <param name="pCaller">Pointer to caller object (AX).</param>

.

        'pUnkSite is a pointer to object that implements IOleWindowSite or something  similar

.

        Me.button1.Location = New System.Drawing.Point(0, 0)

.

    Public ptMinSize As Point

.

    Public ptMaxSize As Point

.

    Public ptIntegral As Point

.

    Public ptActual As Point

.

Public Structure POINT

.

    Public pt As POINT

.

        'pUnkSite is a pointer to object that implements IOleWindowSite or something  similar

.

    Me.button1.Location = New System.Drawing.Point(0, 0)

.

    Public ptMinSize As Point

.

    Public ptMaxSize As Point

.

    Public ptIntegral As Point

.

    Public ptActual As Point

.

Public Structure POINT

.

    Public pt As POINT

.

Starting point only - I only got as far as making getconnectorcount and getconnector return valid information on my machine. The other functions may or may not work!

.

     tagPOINT ptMouse,

.

    Function ShowHelp(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal pszHelpFile As String, ByVal uCommand As Integer, ByVal dwData As Integer, ByVal ptMouse As tagPoint, <MarshalAs(UnmanagedType.IDispatch)> ByVal pDispatchObjectHit As Object) As Integer

.

     public tagPOINT pt;

.

// Added missing definitions of tagRECT/tagPOINT

.

public struct tagPOINT

.

     ref tagPOINT ppt,

.

    Public pt As tagPOINT

.

    Function ShowContextMenu(ByVal dwID As Integer, ByRef ppt As tagPOINT, _

.

        [In] ref Point pt,

.

    public Point ptOffset;

.

    void DragEnter([In] IntPtr hwndTarget, [In, MarshalAs(UnmanagedType.Interface)] IDataObject_Com dataObject, [In] ref drawing.Point pt, [In] DragDropEffects effect);

.

    void DragOver([In] ref drawing.Point pt, [In] DragDropEffects effect);

.

    void Drop([In, MarshalAs(UnmanagedType.Interface)] IDataObject_Com dataObject, [In] ref drawing.Point pt, [In] DragDropEffects effect);

.

        var pointWpf = e.GetPosition(this);

.

        var point = new drawing.Point(Convert.ToInt32(pointWpf.X), Convert.ToInt32(pointWpf.Y));

.

        dropHelper.DragEnter(hWnd, e.Data as IDataObject_Com, ref point, e.Effects);

.

        dropHelper.DragOver(ref point, e.Effects);

.

        var pointWpf = e.GetPosition(this);

.

        var point = new drawing.Point(Convert.ToInt32(pointWpf.X), Convert.ToInt32(pointWpf.Y));

.

        dropHelper.Drop(e.Data as IDataObject_Com, ref point, e.Effects);

.

        /// <param name="celt">Number of elements in the array pointed to by the rgelt parameter.</param>

.

        /// Address of an array of ITEMIDLIST pointers that receives the item identifiers. The implementation must allocate these item identifiers

.

        /// Address of a pointer to the new enumeration object. The calling application must

.

    /// <param name="szIconFile">A pointer to a buffer that receives the icon location. The icon location is a null-terminated string that identifies the file that contains the icon.</param>

.

    /// <param name="cchMax">The size of the buffer, in characters, pointed to by pszIconFile.</param>

.

    /// <param name="piIndex">A pointer to an int that receives the index of the icon in the file pointed to by pszIconFile.</param>

.

    /// <param name="pwFlags">A pointer to a UINT value that receives zero or a combination of the following value</param>

.

    /// <param name="pszFile">A pointer to a null-terminated string that specifies the icon location.</param>

.

    /// <param name="nIconIndex">The index of the icon in the file pointed to by pszFile.</param>

.

    /// <param name="phiconLarge">A pointer to an HICON value that receives the handle to the large icon. This parameter may be NULL.</param>

.

    /// <param name="phiconSmall">A pointer to an HICON value that receives the handle to the small icon. This parameter may be NULL.</param>

.

     //[in] Array of pointers to FULLPROPSPEC structures for the

.

       // structures contain pointers, which can be freed by calling the

.

        '<in> aAttributes - Array of pointers to FULLPROPSPEC structures for the

.

    ' structures contain pointers, which can be freed by calling the

.

    //      This means some caller could pass a null pointer instead

.

    /// <returns>a pointer to the allocated memory block.</returns>

.

    /// <param name="pv">Pointer to the memory block to be reallocated</param>

.

    /// <param name="pv">Pointer to the memory block to be freed.</param>

.

    /// <param name="pv">Pointer to the memory block for which the size is requested</param>

.

    /// <param name="pv">Pointer to the memory block</param>

.

    ''' <returns>Returns a pointer to the allocated memory block.</returns>

.

    ''' <param name="pv">Pointer to the memory block to be reallocated.</param>

.

    ''' <param name="pv">Pointer to the memory block to be freed.</param>

.

    ''' <param name="pv">Pointer to the memory block for which the size is requested.</param>

.

    ''' <param name="pv">Pointer to the memory block.</param>

.

    /// <param name="ppbPublicKey">[out] A pointer to the public key or the metadata token.</param>

.

    /// <param name="pulHashAlgId">[out] A pointer to the algorithm used to hash the files in the assembly.</param>

.

    /// <param name="pMetaData">[out] A pointer to an <c>ASSEMBLYMETADATA</c> structure that contains the assembly metadata. </param>

.

    ///     const void  **ppbPublicKey,     // [OUT] Pointer to the public key.

.

    /// <param name="ppbPublicKeyOrToken">[out] A pointer to the public key or the metadata token.</param>

.

    /// <param name="pchName">[out] A pointer to the number of wide chars actually returned in <c>szName</c>.</param>

.

    /// <param name="pMetaData">[out] A pointer to an <c>ASSEMBLYMETADATA</c> structure that contains the assembly metadata.</param>

.

    /// <param name="ppbHashValue">[out] A pointer to the hash value. This is the hash, using the SHA-1 algorithm, of the <c>PublicKey</c> property of the assembly being referenced, unless the <c>arfFullOriginator</c> flag of the <c>AssemblyRefFlags</c> enumeration is set.</param>

.

    /// <param name="pdwAssemblyFlags">[out] A pointer to flags that describe the metadata applied to an assembly. The flags value is a combination of one or more <c>CorAssemblyFlags</c> values.</param>

.

    ///     const void  **ppbPublicKeyOrToken,  // [OUT] Pointer to the public key or token.

.

    /// <param name="pchName">[out] A pointer to the number of wide chars actually returned in <c>szName</c>.</param>

.

    /// <param name="ppbHashValue">[out] A pointer to the hash value. This is the hash, using the SHA-1 algorithm, of the <c>PublicKey</c> property of the assembly being referenced, unless the <c>arfFullOriginator</c> flag of the <c>AssemblyRefFlags</c> enumeration is set.</param>

.

    /// <param name="pdwFileFlags">[out] A pointer to the flags that describe the metadata applied to a file. The flags value is a combination of one or more <c>CorFileFlags</c> values.</param>

.

    ///     const void  **ppbHashValue,     // [OUT] Pointer to the Hash Value Blob.

.

    /// <param name="pchName">[out] A pointer to the number of wide chars actually returned in <c>szName</c>.</param>

.

    /// <param name="ptkTypeDef">[out] A pointer to an <c>mdTypeDe</c>f token that represents a type in the file.</param>

.

    /// <param name="pdwExportedTypeFlags">[out] A pointer to the flags that describe the metadata applied to the exported type. The flags value can be one or more <c>CorTypeAttr</c> values.</param>

.

    /// <param name="pchName">[out] A pointer to the number of wide chars actually returned in <c>szName</c>.</param>

.

    /// <param name="ptkImplementation">[out] A pointer to an <c>mdFile</c> token or an mdAssemblyRef token that represents the file or assembly, respectively, that contains the resource. </param>

.

    /// <param name="pdwOffset">[out] A pointer to a value that specifies the offset to the beginning of the resource within the file.</param>

.

    /// <param name="pdwResourceFlags">[out] A pointer to flags that describe the metadata applied to a resource. The flags value is a combination of one or more <c>CorManifestResourceFlags</c> values.</param>

.

    /// <param name="phEnum">[in, out] A pointer to the enumerator. This must be a null value when the EnumAssemblyRefs method is called for the first time.</param>

.

    ///     HCORENUM    *phEnum,        // [IN|OUT] Pointer to the enum.

.

    /// <param name="phEnum">[in, out] A pointer to the enumerator. This must be a null value for the first call of this method.</param>

.

    ///     HCORENUM    *phEnum,        // [IN|OUT] Pointer to the enum.

.

    /// <param name="phEnum">[in, out] A pointer to the enumerator. This must be a null value when the <c>EnumExportedTypes</c> method is called for the first time.</param>

.

    ///     HCORENUM    *phEnum,        // [IN|OUT] Pointer to the enum.

.

    /// Gets a pointer to an enumerator for the resources referenced in the current assembly manifest.

.

    /// <param name="phEnum">[in, out] A pointer to the enumerator. This must be a null value when the <c>EnumManifestResources</c> method is called for the first time.</param>

.

    ///     HCORENUM    *phEnum,        // [IN|OUT] Pointer to the enum.

.

    /// Gets a pointer to the assembly in the current scope.

.

    /// <param name="ptkAssembly">[out] A pointer to the retrieved <c>mdAssembly</c> token that identifies the assembly.</param>

.

    /// Gets a pointer to an exported type, given its name and enclosing type.

.

    /// <param name="mdExportedType">[out] A pointer to the <c>mdExportedType</c> token that represents the exported type.</param>

.

    /// Gets a pointer to the manifest resource with the specified name.

.

    //    IUnknown *ppIUnk[],         // [OUT] put IMetaDataAssemblyImport pointers here

.

    /// <param name="ppIUnk">[in] An array of type <c>IUnknown</c> in which to put the <c>IIMetadataAssemblyImport</c> interface pointers. </param>

.

    /// <param name="cMax">[out] The maximum number of interface pointers that can be placed in <c>IppIUnk</c>.</param>

.

    /// <param name="pcAssemblies">[out] The number of interface pointers returned. That is, the number of interface pointers actually placed in <c>ppIUnk</c>.</param>

.

    /// <param name="ppIUnk">[out] The pointer to the returned interface.</param>

.

    /// <param name="ppIUnk">[out] The pointer to the returned interface.</param>

.

    /// <param name="pData">[in] A pointer that specifies the starting address of the memory area.</param>

.

    /// <param name="ppIUnk">[out] The pointer to the returned interface.</param>

.

    ///     ULONG       cbData,         // [in] Size of the data pointed to by pData.

.
Summary
Provides the site's IUnknown pointer to the object.
.

    /// <see cref="IObjectWithSite"/>, a container can pass the IUnknown pointer of its site to the

.

    /// Provides the site's <see cref="IUnknown"/> pointer to the object.

.

    /// The object should hold onto the <see cref="IUnknown"/> pointer, calling <c>AddRef</c> in doing so.

.

    /// <param name="riid">The IID of the interface pointer that should be returned.</param>

.

    /// interface pointer is available, the object must call <c>AddRef</c> on that pointer before

.

            /// <param name="pCmdText">Pointer to name or status of command, NULL indicates this is not necessary</param>

.

    /// Class is designed to be a central point for executing commands against a form control

.

    /// <param name="phwnd">Pointer to where to return the window handle.</param>

.

      ''' <param name="phwnd">Pointer to where to return the window handle.</param>

37: IPart
.

             out object interfacePointer);

.

        /// <param name="pwzTitle">A pointer to a null-terminated Unicode string that contains the dialog box title.</param>

.

        /// <param name="pwzCancelMsg">A pointer to a null-terminated Unicode string that contains the message to be displayed.</param>

.

    /// <param name="pchEaten">Pointer to a ULONG value that receives the number of characters of the display name that was parsed.</param>

.

    /// <param name="ppidl"> Pointer to an ITEMIDLIST pointer that receives the item identifier list for the object.</param>

.

    /// <param name="ppenumIDList">Address that receives a pointer to the IEnumIDList interface of the enumeration object created by this method. </param>

.

    /// <param name="ppv">Address that receives the interface pointer.</param>

.

    /// Requests a pointer to an object's storage interface.

.

    /// <param name="ppv"> Address that receives the interface pointer specified by riid.</param>

.

    /// <param name="pidl1">Pointer to the first item's ITEMIDLIST structure.</param>

.

    /// <param name="pidl2"> Pointer to the second item's ITEMIDLIST structure.</param>

.

    /// <param name="ppv">Address of a pointer to the requested interface. </param>

.

    /// <param name="apidl">Address of an array of pointers to ITEMIDLIST structures, each of which  uniquely identifies a file object relative to the parent folder.</param>

.

    /// <param name="apidl">Address of an array of pointers to ITEMIDLIST  structures, each of which  uniquely identifies a file object or subfolder relative to the parent folder.</param>

.

    /// <param name="ppv">Pointer to the requested interface.</param>

.

    /// <param name="pidl"> Pointer to an ITEMIDLIST structure that uniquely identifies the file object or subfolder relative to the parent folder. </param>

.

    /// <param name="pszName"> Pointer to a null-terminated string that specifies the new display name.</param>

.

    /// <summary>Sets the pointer to an item identifier list (PIDL) for a Shell link object</summary>

.

    /// <summary>Sets the pointer to an item identifier list (PIDL) for a Shell link object.</summary>

.

    ''' <summary>Sets the pointer to an item identifier list (PIDL) for a Shell link object.</summary>

.

IntPtr cachePointer;

.

CoCreateInstance(CLSID_LocalThumbnailCache, IntPtr.Zero, CLSCTX.CLSCTX_INPROC, IID_IUnknown, out cachePointer);

.

IThumbnailCache thumbnailCache = (IThumbnailCache) Marshal.GetObjectForIUnknown(cachePointer);

.

* Modified the interface for the COM, I don't know much about it but that's what got it to work for me. The [In, MarshalAs(UnmanagedType.Struct)] may be unnecessary but the 'ref' keyword in the interface and when passing in the variable made it work otherwise I got a corrupt memory pointer exception message.

.
Summary
The IUIApplication interface is implemented by the application and defines the callback entry-point methods for the Windows Ribbon (Ribbon) framework.
.

     // Sets the desired anchor point where ContextualUI should be displayed.

.

     // Retrieves a pointer to a view object

dnsapi

.

    [DllImport("dnsapi.dll", EntryPoint = "DnsFlushResolverCacheEntry_W", CharSet = CharSet.Unicode)]

.

  <DllImport("dnsapi.dll", EntryPoint:="DnsFlushResolverCacheEntry_W", CharSet:=CharSet.Unicode)> _

.

  <DllImport("dnsapi.dll", EntryPoint:="DnsFlushResolverCacheEntry_W", CharSet:=CharSet.Unicode)> _

.

    /// <param name="lpstrName">A pointer to a string that represents the DNS name to query</param>

.

    /// <param name="ppQueryResultsSet">A pointer to a pointer that points to the list of RRs that comprise the response</param>

.

    [DllImport("dnsapi", EntryPoint = "DnsQuery_W", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)]

.

    /// <param name="pRecordList">A pointer to the DNS_RECORD structure that contains the list of DNS records to be freed</param>

.

        public int bPacketPointers;     // BOOL  bPacketPointers;

.

        public int bPacketPointers;     // BOOL     bPacketPointers;

.

        /// <param name="lpstrName">A pointer to a string that represents the DNS name to query</param>

.

        /// <param name="ppQueryResultsSet">A pointer to a pointer that points to the list of RRs that comprise the response</param>

.

        [DllImport("dnsapi", EntryPoint = "DnsQuery_W", CharSet = CharSet.Unicode, SetLastError = true,

.

        /// <param name="pRecordList">A pointer to the DNS_RECORD structure that contains the list of DNS records to be freed</param>

.

        public int bPacketPointers;     // BOOL  bPacketPointers;

.

        public int bPacketPointers;     // BOOL     bPacketPointers;

.

[DllImport("dnsapi", EntryPoint = "DnsQueryEx", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)]

.

    private delegate void QueryCompletionRoutineFunctionPointer(IntPtr queryContext, IntPtr queryResults);

.

        IntPtr addrArrayPointer = new IntPtr(addrBuffer.ToInt64() + Marshal.SizeOf(typeof(DNS_ADDR_ARRAY)));

.

        Marshal.StructureToPtr(addrList[i], addrArrayPointer, false);

.

        addrArrayPointer = new IntPtr(addrArrayPointer.ToInt64() + Marshal.SizeOf(typeof(DNS_ADDR)));

.

        request.QueryCompletionCallback = Marshal.GetFunctionPointerForDelegate(new QueryCompletionRoutineFunctionPointer(QueryCompletionRoutine));

.

    [DllImport("dnsapi", EntryPoint = "DnsQueryEx", CharSet = CharSet.Unicode, SetLastError = true, ExactSpelling = true)]

dbghelp

.

    public IntPtr ExceptionPointers;

.

    public int ClientPointers;

.

    info.ClientPointers = 1;

.

    info.ExceptionPointers = Marshal.GetExceptionPointers();

wininet

.

        EntryPoint = "DeleteUrlCacheEntryA",

.

      EntryPoint:="DeleteUrlCacheEntryA", _

.

    [DllImport(@"wininet", SetLastError = true, CharSet = CharSet.Auto, EntryPoint = "DeleteUrlCacheGroup", CallingConvention = CallingConvention.StdCall)]

.

       EntryPoint:="DeleteUrlCacheGroup", _

.

[DllImport(@"wininet",SetLastError=true,CharSet=CharSet.Auto,EntryPoint="FindFirstUrlCacheEntryA",CallingConvention=CallingConvention.StdCall)]

.

       EntryPoint:="FindFirstUrlCacheEntryA", _

.

       EntryPoint:="FindFirstUrlCacheGroup", _

.

        EntryPoint:="FindNextUrlCacheEntryA", _

.

       EntryPoint:="FindNextUrlCacheGroup", _

.

lpszCommand (in) A pointer to a string that contains the command to send to the FTP server.

.

dwContext (in) A pointer to a variable that contains an application-defined value used to identify the application context in callback operations.

.

phFtpCommand (out) A pointer to a handle that is created if a valid data socket is opened. The fExpectResponse parameter must be set to TRUE for phFtpCommand to be filled.

.

    [DllImport("wininet.dll", EntryPoint = "InternetConnectW", CharSet = CharSet.Auto, SetLastError = true)]

.

    [DllImport("wininet.dll", EntryPoint = "InternetOpenW", CharSet = CharSet.Auto, SetLastError = true)]

.

    [DllImport("wininet.dll", EntryPoint = "FtpPutFile")]

.

    [DllImport("wininet.dll", EntryPoint = "FtpGetFile", SetLastError = true, CharSet = CharSet.Auto)]

.

    [DllImport("wininet.dll", EntryPoint = "FtpOpenFile", SetLastError = true, CharSet = CharSet.Auto)]

.

    [DllImport("wininet.dll", EntryPoint = "InternetCloseHandle")]

.

    [DllImport("wininet.dll", EntryPoint = "GetLastError")]

.

    // (in) Pointer to a string that contains the canonical URL to be cracked

.

    // (out) Pointer to a URL_COMPONENTS structure that receives the URL components

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


 
Access PInvoke.net directly from VS: