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

dhcpsapi

.

        uint Flags,

.

        public UInt32 Flags;

.

        public UInt32 Flags;

dwmapi

.

      [Flags]

.

     public int dwFlags;

shlwapi

.

[Flags]

.

   EDITFLAGS,

.

     [In] ASSOCF flags,

.

     [In] ASSOCF flags,

.

     [In] ASSOCF flags,

.

     [In] ASSOCF flags,

.

    out PerceivedFlags perceivedFlags,

.

    <Out> ByRef perceivedFlags As PerceivedFlags, _

.

PerceivedFlag flags;

.

AssocGetPerceivedType(".wav", out type, out flags, IntPtr.Zero);

.

Dim flags As PerceivedFlags

.

AssocGetPerceivedType(".wav", type, flags, IntPtr.Zero)

.

static extern uint AssocQueryString(AssocF flags, AssocStr str, string pszAssoc, string pszExtra, [Out] StringBuilder pszOut, ref uint pcchOut);

.

Private Shared Function AssocQueryString(ByVal flags As UInteger, ByVal str As UInteger, ByVal pszAssoc As String, ByVal pszExtra As String, ByVal pszOut As Text.StringBuilder, ByRef pcchOut As UInteger) As UInteger

.

[Flags]

.

static extern bool PathCompactPathEx([Out] StringBuilder pszOut, string szPath, int cchMax, int dwFlags);

.

         ByVal dwFlags As Long) As Long

.

        static extern bool PathCompactPathEx([Out] StringBuilder pszOut, string szPath, int cchMax, int dwFlags);

.

System.Windows.Forms.TextRenderer.MeasureText(String, Font, Size, TextFormatFlags.ModifyString | TextFormatFlags.PathEllipsis);

.

static extern bool PathCompactPathEx([Out] StringBuilder pszOut, string szPath, int cchMax, int dwFlags);

.

         ByVal dwFlags As Long) As Long

.

        static extern bool PathCompactPathEx([Out] StringBuilder pszOut, string szPath, int cchMax, int dwFlags);

.

System.Windows.Forms.TextRenderer.MeasureText(String, Font, Size, TextFormatFlags.ModifyString | TextFormatFlags.PathEllipsis);

.

    AutoCompleteFlags dwFlags

.

Declare Function SHAutoComplete Lib "shlwapi.dll" (ByVal hWndEdit As IntPtr, ByVal dwFlags As AutoCompleteFlags) As Integer

.

AutoCompleteFlags

.

Int32 res = SHAutoComplete(textBox1.Handle, AutoCompleteFlags.SHACF_FILESYSTEM);

.

    [In] MessageBoxCheckFlags uType,

.

public enum MessageBoxCheckFlags : uint

.

        MessageBoxCheckFlags.MB_OK | MessageBoxCheckFlags.MB_ICONINFORMATION,

mapi32

.

  uint ulFlags,

.

    uint flFlags, uint ulReserved, ref uint lpnNewRecips, ref IntPtr lppNewRecips);

.

    uint flFlags, uint ulReserved);

.

    MapiRecipDesc lpRecip, uint flFlags, uint ulReserved);

.

    string lpszSeedMessageID, uint flFlags, uint ulReserved, StringBuilder lpszMessageID);

.

private static extern uint MAPILogoff(IntPtr lhSession, IntPtr ulUIParam, uint flFlags, uint ulReserved);

.

Private Shared Function MAPILogoff(ByVal lhSession As IntPtr, ByVal ulUIParam As IntPtr, ByVal flFlags As UInteger, ByVal ulReserved As UInteger) As UInteger

.

    uint flFlags, uint ulReserved, ref IntPtr lplhSession);

.

                      ByVal flags As Integer, _

.

        public int flags;

.

        Public flags As Integer

.

    uint flFlags, uint ulReserved, ref IntPtr lppMessage);

.

   ByVal flFlags As UInteger, ByVal ulReserved As UInteger, ByRef lppMessage As IntPtr) As UInteger

.

    uint flFlags, uint ulReserved, ref MapiRecipDesc lppRecips);

.

    MapiMessage lpMessage, uint flFlags, uint ulReserved, string lpszMessageID);

.

    MapiMessage lpMessage, uint flFlags, uint ulReserved);

.

    public int flags;

.

    public int flags;

ntdsapi

.

    DS_NAME_FLAGS flags,

.

       ByVal flags As DS_NAME_FLAGS, _

.

       [Flags]

.

       public enum DS_NAME_FLAGS

.

      DS_NAME_NO_FLAGS = 0x0,

.

      /// <param name="flags">Flags controlling the process</param>

.

      public DS_NAME_RESULT_ITEM[] CrackNames(string[] names = null, DS_NAME_FLAGS flags = DS_NAME_FLAGS.DS_NAME_NO_FLAGS,

.

         uint err = DsCrackNames(handle, flags, formatOffered, formatDesired, (uint)((names == null) ? 0 : names.Length), names, out pResult);

.

      DS_NAME_FLAGS flags,

hhctrl

.

    [Flags()]

winhttp

.

WinHttpGetProxyForUrl caches the autoproxy URL and the autoproxy script when auto-discovery is specified in the dwFlags member of the pAutoProxyOptions structure. For more information, see Autoproxy Cache.

.

            int dwFlags);

.

            InternetFlags dwFlags);

.

[Flags]

.

public enum InternetFlags : uint

.

Declare Function WinHttpOpenRequest Lib "winhttp.dll" (ByVal hConnect As IntPtr, ByVal pwszVerb As String, ByVal pwszObjectName As String, ByVal pwszVersion As String, ByVal pwszReferrer As String, ByRef ppwszAcceptTypes As Byte(), ByVal dwFlags As Integer) As IntPtr

.

            int dwFlags);

.

Declare Function WinHttpOpenRequest Lib "winhttp.dll" (ByVal hConnect As IntPtr, ByVal pwszVerb As String, ByVal pwszObjectName As String, ByVal pwszVersion As String, ByVal pwszReferrer As String, ByRef ppwszAcceptTypes As Byte(), ByVal dwFlags As Integer) As IntPtr

irprops

.

private static extern uint BluetoothSetServiceState(IntPtr hRadio, ref BLUETOOTH_DEVICE_INFO pbtdi, ref   Guid pGuidService, DwServiceFlags dwServiceFlags);

secur32

.

                        public Int32 Flags; // Reserved, should be 0

.

                            baseStructure.Flags = 0;

urlmon

.

     [MarshalAs(UnmanagedType.U4)] int dwFlags,

.

    ByVal FeatureEntry As INTERNETFEATURELIST, ByVal dwFlags As Long, _

.

        [MarshalAs(UnmanagedType.U4)] CreateUriFlags dwFlags,

.

          int dwMimeFlags,

.

VB.NET dwMimeFlags: (http://msdn.microsoft.com/en-us/library/ie/ms775107(v=vs.85).aspx)

.

<Flags()> Public Enum MIMEFlags As UInteger

.

    ''' <summary>No flags specified. Use default behavior for the function.</summary>

.

    ''' <summary>Internet Explorer 8. Use the authoritative MIME type specified in pwzMimeProposed. Unless <see cref="MIMEFlags.IgnoreMIMETextPlain "/> is specified, no data sniffing is performed.</summary>

.

        ByVal dwMimeFlags As Integer, _

.

        dwMimeFlags As Long, _

dnsapi

.

    [Flags]

.

        public uint Flags;

.

        public FlagsUnion Flags;

.

    private struct FlagsUnion

.

        public DNS_RECORD_FLAGS S;

.

    private struct DNS_RECORD_FLAGS

.

    [Flags]

.

        public uint Flags;

.

        public FlagsUnion Flags;

.

    private struct FlagsUnion

.

        public DNS_RECORD_FLAGS S;

.

    private struct DNS_RECORD_FLAGS

oleacc

.

The GetStateText function retrieves a localized string that describes an object's state for a single predefined state bit flag. Because state values are a combination of one or more bit flags, clients call this function more than once to retrieve all the state strings.

.

     SendMessageTimeoutFlags.SMTO_ABORTIFHUNG, 1000, out lRes) == IntPtr.Zero )

wininet

.

        int dwFlags,

.

    ByVal dwFlags As Int32, _

.

    int dwFlags,

.

    ByVal dwFlags As Int32, _

.

int dwFlags,

.

ByVal dwFlags As Integer, _

.

dwFlags(in) A parameter that can be set to one of the following values.

.

   int flags, IntPtr context);

.

   ByRef findFileData As WIN32_FIND_DATA, ByVal flags As Integer, _

.

   int flagsAndAttributes, int flags, IntPtr context);

.

   ByVal flagsAndAttributes As Integer, ByVal flags As Integer, _

.

Useful flags setting for binary download: INTERNET_FLAG_TRANSFER_BINARY + INTERNET_FLAG_RELOAD

.

        uint nFlags,

.

        uint nFlags);

.

        uint dwFlags,

.

        uint nFlagsAndAtrribute,

.

        uint nFlags,

.

        uint nFlags,

.

static extern bool FtpPutFile(IntPtr hConnect, string lpszLocalFile, string lpszNewRemoteFile, int dwFlags, IntPtr dwContext);

.

Declare Function FtpPutFile Lib "wininet.dll" Alias "FtpPutFileA" (ByVal hFtpSession As IntPtr, ByVal lpszLocalFile As String, ByVal lpszRemoteFile As String, ByVal dwFlags As Integer, ByVal dwContext As Integer) As Boolean

.

// dwFlags

.

Use one or more of these flags to control file caching:

.

    int dwFlags,

.

  __in  DWORD dwFlags,

.

static extern bool InternetCheckConnection(string lpszUrl, int dwFlags, int dwReserved);

.

Declare Function InternetCheckConnection Lib "wininet.dll" (ByVal lpszUrl As String, ByVal dwFlags As Integer, ByVal dwReserved As Integer) As Boolean

.

private static extern bool InternetCheckConnection(string lpszUrl, int dwFlags, int dwReserved);

.

   int dwFlags, IntPtr dwContext);

.

    ByVal lFlags As Int32,

.

dwFlags

.

    Flags specific to the service used. Can be one of these values:

.

    If dwService is:     dwFlags supported

.

    int dwFlags,

.

Declare Function InternetCrackUrl Lib "wininet.dll" (ByVal lpszUrl As String, ByVal dwUrlLength As Integer, ByVal dwFlags As Integer, ByRef lpUrlComponents As URL_COMPONENTS) As <MarshalAs(UnmanagedType.Bool)> Boolean

.

private static extern Int32 InternetDial(IntPtr hwndParent, string lpszConnectoid, Int32 dwFlags, ref Int32 lpdwConnection, Int32 dwReserved);

.

int nResult = InternetDial(IntPtr.Zero ,"Your connection",(int)InternetDialFlags.INTERNET_DIAL_UNATTENDED ,ref nConnection , 0);

.

///     C++ ( lpdwFlags [out]. Type: LPDWORD )<br />Pointer to a variable that receives the connection description. This

.

///         <term>Internet Connection State Possible Flags</term>

.

extern static bool InternetGetConnectedState(out int lpdwFlags, int dwReserved);

.

[Flags]

.

  (ByRef lpdwFlags As Int32, ByVal dwReserved As Int32) As Boolean

.

InternetGetConnectedStateFlags

.

   private static extern bool InternetGetConnectedState(out int lpdwFlags, int dwReserved);

.

    int flags;

.

    bool isConnected = InternetGetConnectedState(out flags, 0);

.

    Console.WriteLine(string.Format("Is connected :{0} Flags:{1}", isConnected, flags));

.

Function Get_InternetConnectedState(ByRef p_lngFlags As Long, Optional ByRef p_return_str As String = "") As Boolean

.

   Dim lngFlags As Long

.

      lngFlags = 0

.

      If InternetGetConnectedState(lngFlags, 0) Then

.

     If lngFlags And ConnectionStates.LAN Then

.

     ElseIf lngFlags And ConnectionStates.Modem Then

.

     ElseIf lngFlags And ConnectionStates.Proxy Then

.

      p_lngFlags = lngFlags

.

static extern bool InternetGetCookieEx(string pchURL, string pchCookieName, StringBuilder pchCookieData, ref System.UInt32 pcchCookieData, int dwFlags, IntPtr lpReserved);

.

    ByVal pchCookieData As System.Text.StringBuilder, ByRef pcchCookieData As Integer, ByVal flags As Integer, ByVal reserved As Integer) As _

.

    static extern bool InternetGetCookieEx(string pchURL, string pchCookieName, StringBuilder pchCookieData, ref System.UInt32 pcchCookieData, int dwFlags, IntPtr lpReserved);

.

static extern bool InternetGetCookieEx(string pchURL, string pchCookieName, StringBuilder pchCookieData, ref System.UInt32 pcchCookieData, int dwFlags, IntPtr lpReserved);

.

    ByVal pchCookieData As System.Text.StringBuilder, ByRef pcchCookieData As Integer, ByVal flags As Integer, ByVal reserved As Integer) As _

.

   string lpszProxyBypass, int dwFlags);

.

    ByVal lFlags As Integer) As Int32

.

    static extern bool InternetSetCookieEx(string lpszUrlName, string lpszCookieName, string lpszCookieData, uint dwFlags, IntPtr dwReserved );

ole32

.

   IntPtr pvDestContext, MSHLFLAGS mshlflags);

.

[Flags]

.

private enum MSHLFLAGS : uint

.

    MSHLFLAGS_NORMAL = 0,

.

    MSHLFLAGS_TABLESTRONG = 1,

.

    MSHLFLAGS_TABLEWEAK = 2,

.

    MSHLFLAGS_NOPING = 4,

.

    MSHLFLAGS_RESERVED1 = 8,

.

    MSHLFLAGS_RESERVED2 = 16,

.

    MSHLFLAGS_RESERVED3 = 32,

.

    MSHLFLAGS_RESERVED4 = 64

.

    uint flags,

.

static extern int CoWaitForMultipleHandles(uint dwFlags, uint dwTimeout,

.

See StgmConstants for the flags corresponding to the grfMode parameter.

57: STGM
.

[Flags]

.

<Flags()> _

.

            BindingFlags.Static | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.InvokeMethod,

user32

.

/// <param name="Flags">Specifies how the input locale identifier is to be activated.</param>

.

internal static extern HKL ActivateKeyboardLayout(HKL hkl, uint Flags);

.

''' <param name="Flags">Specifies how the input locale identifier is to be activated.</param>

.

Public Shared Function ActivateKeyboardLayout(ByVal nkl As IntPtr, ByVal Flags As uint) As Integer

.

static extern bool AnimateWindow(IntPtr hwnd, int time, AnimateWindowFlags flags);

.

Shared Function AnimateWindow(ByVal hwnd As IntPtr, ByVal time As Integer, ByVal flags As AnimateWindowFlags) As Boolean

.

AnimateWindowFlags should be used for the dwFlags parameter.

.

Don’t forget to use the AnimateWindowFlags!

.

AnimateWindow(f2.Handle, 1000, AnimateWindowFlags.AW_VER_NEGATIVE Or AnimateWindowFlags.AW_SLIDE or AnimateWindowFlags.AW_HIDE)

.

AnimateWindow(f2.Handle, 1000, (uint) AnimateWindowFlags.AW_VER_NEGATIVE | (uint) AnimateWindowFlags.AW_SLIDE);

.

AnimateWindow(f2.Handle, 1000, AnimateWindowFlags.AW_VER_NEGATIVE Or AnimateWindowFlags.AW_SLIDE or AnimateWindowFlags.AW_HIDE)

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


 
Access PInvoke.net directly from VS: