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

Structures

.

     public IntPtr hModule;

.

    Public hModule As IntPtr

.

        //internal IntPtr ai_canonname;

.

        //internal IntPtr ai_addr;

.

        //internal IntPtr ai_next;

.

            if ((IntPtr) ai_next == IntPtr.Zero)

.

            if ((IntPtr) (info->ai_next) == IntPtr.Zero)

.

            (IntPtr) ai_addr,

.

            (IntPtr) ai_addr,

.

        internal static addrinfo FromPtr(IntPtr handle)

3: BLOB
.

        public IntPtr pBlobData;

.

        internal IntPtr hRadio;

.

    private IntPtr prcExclude;

.

    private IntPtr pBlendFunction;

.

      prcExclude = pBlendFunction = IntPtr.Zero;

.

    if (prcExclude == IntPtr.Zero)

.

     if (pBlendFunction == IntPtr.Zero)

.

      if (prcExclude != IntPtr.Zero) Marshal.FreeHGlobal(prcExclude);

.

      if (pBlendFunction != IntPtr.Zero) Marshal.FreeHGlobal(pBlendFunction);

.

    public IntPtr hwndOwner;

.

    public IntPtr pidlRoot;

.

    public IntPtr pszDisplayName;

.

    public IntPtr lParam;

.

     Public hwndOwner As IntPtr

.

     Public pidlRoot As IntPtr

.

     Public lParam As IntPtr

.

   public IntPtr hdesk;

.

   public IntPtr hwnd;

.

    public IntPtr pElems;

.

   public IntPtr pbCertEncoded;

.

   public IntPtr pCertInfo;

.

   public IntPtr hCertStore;

.

    public IntPtr    pCertInfo;

.

    public IntPtr    hCertStore;

.

   public IntPtr rgExtension;

.

     public IntPtr pbData;

.

        public IntPtr pIssuerCert;

.

        public IntPtr rgCertStore;

.

        public IntPtr hCrlStore;

.

        public IntPtr pftTimeToUse;

.

        public IntPtr pftCurrentTime;

.

        public IntPtr pCrlInfo;

.
Note
.

        public IntPtr        hwnd;          // might be NULL (indicating no owner window)

.

        public IntPtr        hIcon;            // Icon to use for any application activated by the command. If the fMask member does not specify CMIC_MASK_ICON, this member is ignored.

.

    public IntPtr hwndCombo;

.

    public IntPtr hwndEdit;

.

    public IntPtr hwndList;

.

   public IntPtr dwData;    // Any value the sender chooses.  Perhaps its main window handle?

.

   public IntPtr lpData;    // The address of the message.

.

   Public dwData As IntPtr

.

   Public lpData As IntPtr

.

   public IntPtr dwData;

.

   public IntPtr lpData;

.

public static IntPtr IntPtrAlloc<T>(T param)

.

   IntPtr retval = Marshal.AllocHGlobal(Marshal.SizeOf(param));

.

public static void IntPtrFree(ref IntPtr preAllocated)

.

   if (IntPtr.Zero == preAllocated)

.

   preAllocated = IntPtr.Zero;

.

   IntPtr buffer = IntPtrAlloc(txStruct);

.

   copyData.dwData = IntPtr.Zero;

.

   IntPtr copyDataBuff = IntPtrAlloc(copyData);

.

   SendMessage(hWnd, WM_COPYDATA, IntPtr.Zero, copyDataBuff);

.

   IntPtrFree(ref copyDataBuff);

.

   IntPtrFree(ref buffer);

.

public static extern bool CreateProcessWithTokenW(IntPtr hToken, LogonFlags dwLogonFlags, string lpApplicationName, string lpCommandLine, CreationFlags dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, [In] ref STARTUPINFO lpStartupInfo, out PROCESS_INFORMATION lpProcessInformation);

.

    Public Shared Function CreateProcessWithTokenW(hToken As IntPtr, dwLogonFlags As Integer, lpApplicationName As String, lpCommandLine As String, dwCreationFlags As Integer, lpEnvironment As IntPtr, lpCurrentDirectory As IntPtr, ByRef lpStartupInfo As STARTUPINFO, ByRef lpProcessInformation As PROCESS_INFORMATION) As Boolean

.

        public IntPtr lpCreateParams;

.

        public IntPtr hInstance;

.

        public IntPtr hMenu;

.

        public IntPtr hwndParent;

.

        public IntPtr lpszName;

.

        public IntPtr lpszClass;

.

        Public lpCreateParams As IntPtr

.

        Public hInstance As IntPtr

.

        Public hMenu As IntPtr

.

        Public hwndParent As IntPtr

.

        Public lpszName As IntPtr

.

        Public lpszClass As IntPtr

.

public delegate uint PTHREAD_START_ROUTINE( IntPtr lpThreadParameter );

.

   public IntPtr hFile;

.

   public IntPtr hProcess;

.

   public IntPtr hThread;

.

   public IntPtr lpBaseOfImage;

.

   public IntPtr lpThreadLocalBase;

.

   public IntPtr lpImageName;

.

public delegate uint PTHREAD_START_ROUTINE( IntPtr lpThreadParameter );

.

   public IntPtr hThread;

.

   public IntPtr lpThreadLocalBase;

.

            public IntPtr hwndParent;

.

            public IntPtr hbmBanner;

.

    Public hwndParent As IntPtr

.

    Public hbmBanner As IntPtr

.

    public IntPtr    pCrlInfo;

.

    public IntPtr    hCertStore;

.

    public IntPtr hwndApp;

.

    Public hwndApp As IntPtr

.

   public IntPtr pbData;

.

   public IntPtr pbData;

.

    public IntPtr rghCertStore;

.

    public IntPtr pvEncryptionAuxInfo;  

.

        public IntPtr pbData;

.

    Public pbData As IntPtr

.

        public IntPtr pbData;

.

    public IntPtr pSigningCert;

.

    public IntPtr pvHashAuxInfo;

.

    public IntPtr rgpMsgCert;

.

    public IntPtr rgpMsgCrl;

.

    public IntPtr rgAuthAttr;

.

    public IntPtr rgUnauthAttr;

.

    public IntPtr pvHashEncryptionAuxInfo;

.

      public IntPtr pfnUnfortunatellyUnsupported;

.

      public IntPtr pvUnfortunatellyUnsupported;  

.

        Public pfnUnfortunatellyUnsupported As IntPtr

.

        Public pvUnfortunatellyUnsupported As IntPtr

.

        public IntPtr rgpszUsageIdentifier;

.

     IntPtr lResult;

.

     IntPtr lParam;

.

     IntPtr wParam;

.

     IntPtr hWnd;

.

        public IntPtr lparam;

.

        public IntPtr wparam;

.

        public IntPtr hwnd;

.

        Public lParam As IntPtr

.

        Public wParam As IntPtr

.

        Public hWnd As IntPtr

.

    public IntPtr pbData;

.

    Public pbData As IntPtr

.

     IntPtr lParam;

.

     IntPtr wParam;

.

        IntPtr lpStart;

.

        IntPtr uSize;

.

  public static extern IntPtr GlobalSize(IntPtr handle);

.

    public IntPtr Storage;                // An array (of NumberOfStorages elements) of storage-specific information.  

.

        public IntPtr Storage;                                        // An array (of NumberOfStorages elements) of storage-specific information.

.

    public IntPtr Data;

.

    Dim Data As IntPtr 'byte array

.

    public IntPtr Clients;    //List of pointers

.

   Dim Clients As IntPtr

.

   Dim Clients As IntPtr

.

     IntPtr Elements;

.

   Dim Elements As IntPtr

.

        Marshal.Copy(new IntPtr(handle.AddrOfPinnedObject().ToInt64() + Marshal.SizeOf(h)), r.Buffer, 0, h.wDataLength);

.

        IntPtr BSSIDs;

.

    Public BSSIDs As IntPtr

.

delegate int DTT_CALLBACK_PROC(IntPtr hdc, [MarshalAs(UnmanagedType.LPWStr)] string text, int textLen, ref RECT rc, int flags, IntPtr lParam);

.

    public IntPtr lParam;

.

public delegate int DrawThemeTextCallback(IntPtr hdc, [MarshalAs(UnmanagedType.LPWStr)] string text, int textLen, ref RECT rc, int flags, IntPtr lParam);

.

   private IntPtr lParam;

.

   public IntPtr LParam

.

    public IntPtr hRgnBlur;

.

        hRgnBlur = IntPtr.Zero;

.

    Public hRgnBlur As IntPtr

.

    public IntPtr hwnd;

.

    Public hwnd As IntPtr

.

   public IntPtr ExceptionRecord;

.

   public IntPtr ExceptionAddress;

.

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto, Pack = 0)] //Platform independent 32 & 64 bit - use Pack = 0 for both platforms. IntPtr can also be used.

.

    UIntPtr grfAccessPermissions;

.

    UIntPtr grfAccessMode;

.

    UIntPtr grfInheritance;

.

UIntPtr or IntPtr are needed because they change sizes according to platform. If you need to cast to / from, then must keep the size change in mind.

54: fd_set
.

        public IntPtr[] fd_array;

.

        public static fd_set Create(IntPtr socket)

.

            fd_array = new IntPtr[Size] { socket }

.

  public IntPtr RootDirectory;

.

    public IntPtr ptd;

.

    Public ptd As IntPtr

.

        public IntPtr pNext;    // point to a GPO

.

        public IntPtr pPrev;

.

    public IntPtr product;

.

    public IntPtr copyright;

.

    Public product As IntPtr

.

    Public copyright As IntPtr

.

Using IntPtr instead allows the struct to be passed correctly but requires a manual conversion. One way to accomplish this transparently is by making those two fields private and adding the following properties to the struct:

.

    public IntPtr        hwndActive;

.

    public IntPtr        hwndFocus;

.

    public IntPtr        hwndCapture;

.

    public IntPtr        hwndMenuOwner;

.

    public IntPtr        hwndMoveSize;

.

    public IntPtr        hwndCaret;

.

    Public hwndActive As IntPtr

.

    Public hwndFocus As IntPtr

.

    Public hwndCapture As IntPtr

.

    Public hwndMenuOwner As IntPtr

.

    Public hwndMoveSize As IntPtr

.

    Public hwndCaret As IntPtr

.

     internal IntPtr hHandle;

.

     internal UIntPtr dwAddress;

.

     internal UIntPtr th32HeapID;

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


 
Access PInvoke.net directly from VS: