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

oleacc

.
Import
advapi32,credui,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,aygshell,avifil32,crypt32,winscard,secur32,wtsapi32,shlwapi,winspool,rapi,Constants,Delegates,Enums,Interfaces,Structures

imm32

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,ntdsapi,Constants,Delegates,Enums,Interfaces,Structures

query

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,iprop,Constants,Delegates,Enums,Interfaces,Structures

version

.
Import
advapi32,credui,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,Constants,Delegates,Enums,Interfaces,Structures

userenv

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,comctl32,cfgmgr32,hlink,ipaqutil,quickusb,Constants,Delegates,Enums,Interfaces,Structures

mapi32

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,opengl32,glu32,Constants,Delegates,Enums,Interfaces,Structures

hhctrl

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,iprop,Constants,Delegates,Enums,Interfaces,Structures

hid

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,Constants,Delegates,Enums,Interfaces,Structures

icmp

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,glu32,mapi32,Constants,Delegates,Enums,Interfaces,Structures

winfax

.

SÈåwª’ÚÌ:èdjɘ‡A‚Fu;«¿XA£»†¾‘Z³iü¬éTß+¸¾Ô„¦zÆ®L!]†7ð×ÌØ®hі¦°EmŸQ6ÊË¥Är ýÃ¥ªÉ §²AÌ ÆŽÔ2……Ã4[CÓ¢ »UÙâ›:âF—vÍSwùN셗ôdcl.D Ôå¢,ªôՑ2DÄD¬¤I iÙ9‚¡I€)Úÿ>Qn\w(±Ç0Á˜ƒ4,µ˜,€CGøpªv©3Eÿ MŒý¼JÊ ïùÉ#ØhÃ"Q‘Þö Mhc’Ô#rAs6r‰Ën±ˆµ¼ QŠ‹Ë̎®Þ1¦L'´=ì> EY_•KÈÀj’Qo·Â¦Lö8ƒf¬s®p¶ìÈÈú'"ÅeÚô®sgþš†ö9SÍMóXÜ4Ê­]MOÍë£Gg ¿·[Æn]*2ʨÃ#ô ÕIÃ3ÆQÇùÀ ŒÿŸÚå•ò“µU´\5ÔO¨Šå ”]Î$« VF—ašÍÞ³EÁût.÷e†ž–hÙœÁ¬„רúœÍ†á#öË4'<)Û±Qí]ɦ“sØÝ÷˺„ÊÏC5ó•Àͯ3¬¹Þz >wøœèWÌWnã³Ø¿v‹±6x6ÂYáSªß &eo3oƋ “˜‹^[fƒEü%Ø?®á÷`¹<€ò¼#ùâîyÐ/‚’ Fɯ…Ñø

.
Import
advapi32,credui,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,aygshell,avifil32,crypt32,winscard,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,Constants,Delegates,Enums,Interfaces,Structures

credui

.
Import
advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,Constants,Delegates,Enums,Interfaces,Structures

kernel32

.
  • Your program will crash if you try to attach when running from windows and not from a console window.
.
  • Your program will crash if you try to attach when running from windows and not from a console window.
.

To query the filename for a process that is running elevated from a process that is not, the .NET api crashes.

.

RESTART_NO_CRASH = 1 : Do not restart the process if it terminates due to an unhandled exception

.

      RESTART_NO_CRASH = 1, // Do not restart if process terminates due to unhandled exception

.

      int RegisterResult = RegisterApplicationRestart(APPLICATION_CRASHED, RestartFlags.NONE);

.

        SetErrorMode(ErrorModes.SEM_NOGPFAULTERRORBOX | ErrorModes.SEM_NOOPENFILEERRORBOX); // this funtion prevents error dialog box to show up after application crash

.

In contrast, if you are trying to do managed-debugging (instead of just write a native debugger in C#), you need to use the managed debugging APIs (ICorDebug) instead of the native debugging APIs here.

.
Import
credui,advapi32,gdi32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,Constants,Delegates,Enums,Interfaces,Structures

fwpuclnt

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,Constants,Delegates,Enums,Interfaces,Structures

uxtheme

.
Import
advapi32,credui,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,Constants,Delegates,Enums,Interfaces,Structures

scarddlg

.
Import
advapi32,credui,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,aygshell,avifil32,crypt32,winscard,Constants,Delegates,Enums,Interfaces,Structures

opengl32

.

Ö:Ğá7æD>&}öuª+v€ó£Juã=²Õ+‚H¬‘ʼnmô"Q™HWBÂ[3Ìhâôß,šÌ¡rashu—Y¼{?úTã&,ÿ8[µ›ü0| ¡<µ¥Xƒé’[ˆÖ>Pm=Aó¶óEfÎÎR  .ªKLa¼¬Î4‚Ìý¾+-ÀÇ º«8þ…Vl…Lzî5Zaž1ŠŽ óM,¹Fé5tH†c–•ÛËÜKúÇÉxù–Lýaê¦TêÅÇRKMIVr¶è…ðވúp«÷ô

.

        GL_CURRENT_RASTER_COLOR = 0x0B04,

.

        GL_CURRENT_RASTER_INDEX = 0x0B05,

.

        GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06,

.

        GL_CURRENT_RASTER_POSITION = 0x0B07,

.

        GL_CURRENT_RASTER_POSITION_VALID = 0x0B08,

.

        GL_CURRENT_RASTER_DISTANCE = 0x0B09,

.

    public static extern void glRasterPos2d(double x, double y);

.

    public static extern void glRasterPos2dv(double[] v);

.

    public static extern void glRasterPos2f(float x, float y);

.

    public static extern void glRasterPos2fv(float[] v);

.

    public static extern void glRasterPos2i(int x, int y);

.

    public static extern void glRasterPos2iv(int[] v);

.

    public static extern void glRasterPos2s(short x, short y);

.

    public static extern void glRasterPos2sv(short[] v);

.

    public static extern void glRasterPos3d(double x, double y, double z);

.

    public static extern void glRasterPos3dv(double[] v);

.

    public static extern void glRasterPos3f(float x, float y, float z);

.

    public static extern void glRasterPos3fv(float[] v);

.

    public static extern void glRasterPos3i(int x, int y, int z);

.

    public static extern void glRasterPos3iv(int[] v);

.

    public static extern void glRasterPos3s(short x, short y, short z);

.

    public static extern void glRasterPos3sv(short[] v);

.

    public static extern void glRasterPos4d(double x, double y, double z, double w);

.

    public static extern void glRasterPos4dv(double[] v);

.

    public static extern void glRasterPos4f(float x, float y, float z, float w);

.

    public static extern void glRasterPos4fv(float[] v);

.

    public static extern void glRasterPos4i(int x, int y, int z, int w);

.

    public static extern void glRasterPos4iv(int[] v);

.

    public static extern void glRasterPos4s(short x, short y, short z, short w);

.

    public static extern void glRasterPos4sv(short[] v);

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,glu32,mapi32,Constants,Delegates,Enums,Interfaces,Structures

Structures

.

Originally this article showed the 'product' and 'copyright' fields as type 'string', but this causes a program crash when calling the gsapi_revision function (tested under VS2013 and 32-bit GPL Ghostscript v9.15).

.

        ///Erase EOF key

.

            OUT_RASTER_PRECIS = 6,

.

        OUT_RASTER_PRECIS = 6

.

Note that the managed Font class does not support raster fonts.

.

   public bool fErase;

.

    Public fErase As Integer

30: PANOSE
.

    public byte bContrast;

.

        Public bContrast As Byte

.

   struct RASCONNSTATUS

.

    public RASCONNSTATE  rasconnstate;

.

Structure RASCONNSTATUS

.

http://www.codeplex.com/DotRas

.
Documentation
[RASCONNSTATUS] on MSDN
.

internal class RASDIALEXTENSIONS

.

   public readonly int dwSize = Marshal.SizeOf(typeof(RASDIALEXTENSIONS));

.

   public RASEAPINFO RasEapInfo = new RASEAPINFO();

.

Structure RASDIALEXTENSIONS

.

http://www.codeplex.com/DotRas

.
Documentation
[RASDIALEXTENSIONS] on MSDN
.
Summary
.

struct RASDIALPARAMS {

.

   [MarshalAs(UnmanagedType.ByValTStr, SizeConst = Constants.RAS_MaxEntryName + 1)]

.

   [MarshalAs(UnmanagedType.ByValTStr, SizeConst = Constants.RAS_MaxPhoneNumber + 1)]

.

   [MarshalAs(UnmanagedType.ByValTStr, SizeConst = Constants.RAS_MaxCallbackNumber + 1)]

.

Structure RASDIALPARAMS

.

Most RAS specific constants are documented at :

.

http://www.pinvoke.net/default.aspx/Constants.ras

.

http://www.codeplex.com/DotRas

.
Documentation
[RASDIALPARAMS] on MSDN
.

struct RASENTRYNAME

.

Structure RASENTRYNAME

.

http://www.codeplex.com/DotRas

.
Documentation
.

struct RASENTRYNAME

.

Structure RASENTRYNAME

.
Documentation
.

struct RASPPPIP {

.

Structure RASPPPIP

.

http://www.codeplex.com/DotRas

.
Documentation
[RASPPPIP] on MSDN
.
Summary
stores the statistics for a single-link RAS connection, or for one of the links in a multilink RAS connection.
.

struct RAS_STATS

.

Private Structure RAS_STATS

.

See docs for RasGetConnectionStatistics

.

http://www.codeplex.com/DotRas

.
Documentation
[RAS_STATS] on MSDN
.
Summary
.

    struct RAS_1

.

Structure RAS_USER_1

.
Documentation
[RAS_USER_1] on MSDN
.
    • When this member is NULL, an application must paint its own background whenever it is requested to paint in its client area. To determine whether the background must be painted, an application can either process the WM_ERASEBKGND message or test the fErase member of the PAINTSTRUCT structure filled by the BeginPaint function.
.
    • When this member is NULL, an application must paint its own background whenever it is requested to paint in its client area. To determine whether the background must be painted, an application can either process the WM_ERASEBKGND message or test the fErase member of the PAINTSTRUCT structure filled by the BeginPaint function.
.
Import
advapi32,credui,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,aygshell,avifil32,crypt32,winscard,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,comdlg32,Constants,Delegates,Enums,Interfaces

wlanapi

.

     [Out] out bool pbIsPassPhrase,

.
Import
credui,advapi32,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,avifil32,aygshell,winscard,crypt32,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,msi,cards,powrprof,urlmon,xolehlp,twain_32,winmm,wininet,comdlg32,imm32,ntdsapi,odbccp32,Constants,Delegates,Enums,Interfaces,Structures

oleaut32

.
Import
advapi32,credui,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,aygshell,avifil32,crypt32,winscard,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,Constants,Delegates,Enums,Interfaces,Structures

secur32

.
Import
advapi32,credui,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,aygshell,avifil32,crypt32,winscard,Constants,Delegates,Enums,Interfaces,Structures

Interfaces

.

üÃ] E×áÇÖ¾/w¯,ˆu¢M À«Û5í:TmŽ{IVANE…™ÓÙôàézå/ó6}×±ÖÌ:V¡Eٕ·¨m×OÊ ˜¸E´äqT!V¯âŠ|ŰgJI)“K¯{½PP’÷<µrAs4³ésþ?_?8e¶yª

.

    /// autocompleted suggestion is treated as a phrase

.
Summary
Exposes methods that are used by a host to control the security zone infrastructure.
.

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

.

        [Out] out CorAssemblyFlags pdwAssemblyFlags);

.

    /// <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>

.

        [Out] out CorAssemblyFlags pdwAssemblyFlags);

.

    /// <param name="rAssemblyRefs">[out] The enumeration of mdAssemblyRef metadata tokens.</param>

.

    /// <param name="cMax">[in] The maximum number of tokens that can be placed in the rAssemblyRefs array.</param>

.

    /// <param name="pcTokens">[out] The number of tokens actually placed in rAssemblyRefs.</param>

.

    ///     mdAssemblyRef rAssemblyRefs[],      // [OUT] Put AssemblyRefs here.

.

        [Out, MarshalAs(UnmanagedType.LPArray)] uint[] rAssemblyRefs,

.

    public enum CorAssemblyFlags : uint {    

.

    tdNestedFamORAssem      =   0x00000007,     // Class is nested with family or assembly visibility.

.

        CorAssemblyFlags dwAssemblyFlags;

.

- Various sites declare OLECMD.cmdf as UInt64. For me this crashes IE7 just after my QueryStatus() method is called, but declaring it as uint works fine. This seems correct given the MSDN definition as a DWORD - http://msdn.microsoft.com/en-us/library/ms690534%28VS.85%29.aspx

.

        #region Erase Table

.

        ///    Activates/Deactivates the eraser for erasing a table

.

        public void ToggleEraseTable()

.

            ChkResult(ExecuteCommand(FormControlCommandIds.CommandIds.EraseTable));

.

    bool RegisterAsBrowser { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x228)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x228)] set; }

.

    bool RegisterAsDropTarget { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x229)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x229)] set; }

.

    Property RegisterAsBrowser() As <MarshalAs(UnmanagedType.VariantBool)> Boolean

.

    Property RegisterAsDropTarget() As <MarshalAs(UnmanagedType.VariantBool)> Boolean

.

    bool RegisterAsBrowser { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x228)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x228)] set; }

.

    bool RegisterAsDropTarget { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x229)] get; [param: In] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x229)] set; }

.

    Property RegisterAsBrowser() As <MarshalAs(UnmanagedType.VariantBool)> Boolean

.

    Property RegisterAsDropTarget() As <MarshalAs(UnmanagedType.VariantBool)> Boolean

.
Import
advapi32,credui,gdi32,kernel32,ole32,shell32,user32,glossary,coredll,rasapi32,mpr,netapi32,uxtheme,aygshell,avifil32,crypt32,winscard,secur32,wtsapi32,shlwapi,winspool,oleacc,rapi,oleaut32,winfax,odbc32,gdiplus,msdrm,odbccp32,gsapi,ws2_32,Constants,Delegates,Enums,Structures

user32

.

public extern static bool GetUpdateRect(IntPtr hWnd, ref RECT rect, bool bErase);

.

Private Shared Function GetUpdateRect(ByVal hWnd As IntPtr, ByRef rect As RECT, ByVal bErase As Boolean) As Boolean

.

Dim bErase As Boolean

.

GetUpdateRect(Me.Handle, rRect, bErase)

.

static extern int GetUpdateRgn(IntPtr hWnd, IntPtr hRgn, bool bErase);

.

static extern bool InvalidateRect(IntPtr hWnd, IntPtr lpRect, bool bErase);

.

Public Overloads Declare Function InvalidateRect Lib "User32" Alias "InvalidateRect" (ByVal hWnd As Int32, ByRef lpRect As RECT, ByVal bErase As Boolean) As Boolean

.

Public Overloads Declare Function InvalidateRect Lib "User32" Alias "InvalidateRect" (ByVal hWnd As Int32, ByVal lpRect As IntPtr, ByVal bErase As Boolean) As Boolean

.

Public Overloads Shared Function InvalidateRect(ByVal hWnd As Int32, ByVal bErase As Boolean) As Boolean

.

     Return InvalidateRect(hWnd, IntPtr.Zero, bErase)

.

Public Overloads Shared Function InvalidateRect(ByVal hWnd As Int32, ByVal lpRect As System.Drawing.Rectangle, ByVal bErase As Boolean) As Boolean

.

     Return InvalidateRect(hWnd, RECT.FromRectangle(lpRect), bErase)

.

static extern bool InvalidateRgn(IntPtr hWnd, IntPtr hRgn, bool bErase);

.

As seen below, "message" is the culprit. After exception (1) occurs, all the data members of NativeMessage are zero. Even the point is initialized. After exception (2) occurs, the external dll crashes and it brings down your app. I have tried using GC.KeepAlive(message); without luck.

.

/// If SW_INVALIDATE, don't send WM_ERASEBACKGROUND.

.

public const uint SW_ERASE            = 0x0004;

.

It's very important to specify 'ref' on the MENUITEMINFO otherwise on Windows 7 32-bit user32.dll will crash with the error text 0a9e372d3b4ad19135b953a78882e789. However, Windows 8.1 64 bit it works with or without the 'ref' keyword. Tested both using NET40.

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


 
Access PInvoke.net directly from VS: