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

gdiplus

.

   int height, float startAngle, float sweepAngle);

.

   int width, int height, float startAngle, float sweepAngle);

ole32

4: STGM
.

    DIRECT_SWMR    = 0x00400000,

.

    DIRECT_SWMR    = 4194304

gdi32

.

   float eStartAngle, float eSweepAngle);

.

    private const byte FF_SWISS = (2 << 4);

.

    FF_SWISS = (2 << 4),

.

        /// #define FF_SWISS        (2<<4)  Variable stroke width, sans-serifed.

.

        ///                                        Helvetica, Swiss, etc.

.

            FF_SWISS = 2 << 4,

.

    private const byte FF_SWISS = (2 << 4);

.

    FF_SWISS = (2 << 4),

.

        /// #define FF_SWISS        (2<<4)  Variable stroke width, sans-serifed.

.

        ///                                        Helvetica, Swiss, etc.

.

            FF_SWISS = 2 << 4,

.

//insert by Zswang(wjhu111#21cn.com) at 2007-05-22

.

        GCP_SYMSWAPOFF = 0x00800000,

.

        if (record.IsWindowsUnicodeFullFontName)

.

        internal bool IsWindowsUnicodeFullFontName

.

  // NB: BLUE and RED components will be swapped because GetPixel returns ABGR

.

private static extern bool GetTextMetricsW(IntPtr hdc, out TEXTMETRICW lptm);

.

        switch (args[0]) {

secur32

.

            /// Preserve password logon

.

        /// Logs in a credential for server apps. No need to provide password.

.

        /// <param name="credential">The credential to log in. Password is ignored.</param>

rpcrt4

.

     switch(rc)

dtl

.

    public void DefineData(string address, int numberOfBytes, bool isWriteable)

.

        _writeable = isWriteable;

.

        switch (_plcType)

.

            switch (_driverMethod)

.

            switch (_driverMethod)

.

            switch (_driverMethod)

msvcrt

.

static extern int swprintf(

.

swprintf(buffer, "Greetings from thread %d\n", __arglist(Thread.CurrentThread.ManagedThreadId));

shlwapi

18: IsOS
.

     /// Fast user switching is enabled.

.

     FastUserSwitching = 26,

.

[DllImport("shlwapi.dll", EntryPoint = "PathFileExistsW",  SetLastError = true, CharSet = CharSet.Unicode)]

.

<DllImport("shlwapi.dll", EntryPoint:="PathFileExistsW",  SetLastError:=True, CharSet:=CharSet.Unicode)> _

.

[DllImport("shlwapi.dll", EntryPoint = "PathGetArgsW",  SetLastError = True, CharSet= CharSet.Unicode)]

.

<DllImport("shlwapi.dll", EntryPoint:="PathGetArgsW",  SetLastError:=True, CharSet:=CharSet.Unicode)> _

.

[DllImport("shlwapi.dll", EntryPoint = "PathQuoteSpacesW",  SetLastError = True, CharSet = CharSet.Unicode)]

.

<DllImport("shlwapi.dll", EntryPoint:="PathQuoteSpacesW",  SetLastError:=True, CharSet:=CharSet.Unicode)> _

.

[DllImport("shlwapi.dll", EntryPoint = "PathRemoveArgsW", SetLastError = True, CharSet = CharSet.Unicode)]

.

<DllImport("shlwapi.dll", EntryPoint:="PathRemoveArgsW", SetLastError:=True, CharSet:=CharSet.Unicode)> _

.

[DllImport("shlwapi.dll", EntryPoint = "PathRemoveBlanksW",  SetLastError = True, CharSet = CharSet.Unicode)]

.

<DllImport("shlwapi.dll", EntryPoint:="PathRemoveBlanksW",  SetLastError:=True, CharSet:=CharSet.Unicode)> _

.

<DllImport("shlwapi.dll", EntryPoint:="PathUnExpandEnvStringsW",  SetLastError:=true, CharSet:=CharSet.Unicode)> _

.

[DllImport("shlwapi.dll", EntryPoint = "PathUnQuoteSpacesW",  SetLastError = True, CharSet= CharSet.Unicode)]

.

<DllImport("shlwapi.dll", EntryPoint:="PathUnQuoteSpacesW",  SetLastError:=True, CharSet:=CharSet.Unicode)> _

.

string sWin8ManifestString = "{C:\Program Files\WindowsApps\Microsoft.Video_6.2.8158.0_x86__8wekyb3d8bbwe\resources.pri?ms-resource://Microsoft.Video/resources/manifestVideoDisplayName}";

.

int result = SHLoadIndirectString(sWin8ManifestString, outBuff, outBuff.Capacity, IntPtr.Zero);

winfax

.

[DllImport("winfax.dll", SetLastError = true, EntryPoint = "FaxCompleteJobParamsW")]

.

[DllImport("winfax.dll", SetLastError = true, EntryPoint = "FaxCompleteJobParamsW")]

Interfaces

28: IADs
.

   if (item.Class == "IIsWebServer")

.

   if (item.Class == "IIsWebServer")

.

    [MarshalAs(UnmanagedType.LPWStr)] ref string pszPassword);

.

    <MarshalAs(UnmanagedType.LPWStr)> ByRef string pszPassword)

.

    /// <param name="pszPassword">The password.</param>

.

    public void Authenticate(IntPtr phwnd, ref string pszUsername, ref string pszPassword)

.

        pszPassword = "ProxyPassword";

.

            switch((HRESULTS)ErrNum)

.

    void Switch(ref _tagPROTOCOLDATA pProtocolData);

.

    Sub Switch(ByRef pProtocolData As _tagPROTOCOLDATA)

.

    void Switch(ref _tagPROTOCOLDATA pProtocolData);

.

    Sub Switch(ByRef pProtocolData As _tagPROTOCOLDATA)

.

    switch(strGUID)

.

    switch(strGUID)

.

    //ordering, not the symbolic names. Therefore, if you switched these

.

        //ordering, not the symbolic names. Therefore, if you switched these

.

                if (openDialog.FileName.EndsWith(".xsn",StringComparison.OrdinalIgnoreCase) || openDialog.FileName.EndsWith(".xsf",StringComparison.OrdinalIgnoreCase))

.

                else if (openDialog.FileName.EndsWith(".xml",StringComparison.OrdinalIgnoreCase))

.

                if (openDialog.FileName.EndsWith(".xml",StringComparison.OrdinalIgnoreCase))

.

                if (openDialog.FileName.EndsWith(".xml",StringComparison.OrdinalIgnoreCase))

.

                    if (openDialog.FileName.EndsWith(".xsn",StringComparison.OrdinalIgnoreCase))

.

            switch (interactionType)

.

            switch (interactionType)

.

                if (savePath.EndsWith(".xml",StringComparison.OrdinalIgnoreCase))

.

                switch (interactionType)

.

        /// Switches a view to the viewName

.

        public void SwitchView(string viewName)

.

                    InfoPathControl.XmlForm.ViewInfos.SwitchView(viewName);

.

                    throw new HostedException("An error occurred while attempting to switch view",ex);

.

     // Asks the framework to switch to the list of modes specified and adjust visibility of controls accordingly

37: IUri
.

        UInt32 GetPassword([MarshalAs(UnmanagedType.BStr)][Out] out string sPassword);

.

        PASSWORD = 7,

.

    OLECMDF QueryStatusWB([In] OLECMDID cmdID);

.

    Function QueryStatusWB(ByVal cmdID As OLECMDID) As OLECMDF

.

    OLECMDF QueryStatusWB([In] OLECMDID cmdID);

.

    Function QueryStatusWB(ByVal cmdID As OLECMDID) As OLECMDF

misc

.

I am involved in a project whereby I have to use a methods from a Win32 API (wrg303.dll). I have tried using p/invoke wizard, but it didn't gave the right answer.

41: FAQ
.
Summary
>Common questions and their answers
.
SWIG C++->C# Interop Automation Tool http://www.swig.org/

Constants

.

    switch (Msg) {

.

const readonly int CRED_TYPE_DOMAIN_PASSWORD = 2;

.

const readonly int CRED_TYPE_DOMAIN_VISIBLE_PASSWORD = 4;

.

   DOMAIN_PASSWORD

.

   DOMAIN_VISIBLE_PASSWORD

45: IDC_
.

            IDC_SIZENESW = 32643,

.

        IDC_SIZENESW = 32643,

.

        IDC_SIZENESW = 32643

46: MAPI
.

  /// If the user needs to provide a password and profile name to enable a successful logon,

.

  /// MAPILogon should only prompt for a password and not allow the user to change the profile name.

.

  /// Either MAPI_PASSWORD_UI or MAPI_LOGON_UI should not be set, since the intent is

.

  public const uint MAPI_PASSWORD_UI = 0x00020000;

.

    Public Const MAPI_PASSWORD_UUI As UInteger = &H20000

47: NERR_
.

        /// <summary> 2203 - The password parameter is invalid. </summary>

.

        public const int BadPassword = 2203;

.

        /// <summary> 2242 - The password of this user has expired. </summary>

.

        public const int PasswordExpired = 2242;

.

        /// <summary> 2243 - The password of this user cannot change. </summary>

.

        public const int PasswordCantChange = 2243;

.

        /// <summary> 2244 - This password cannot be used now. </summary>

.

        public const int PasswordHistConflict = 2244;

.

        /// <summary> 2245 - The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. </summary>

.

        public const int PasswordTooShort = 2245;

.

        /// <summary> 2246 - The password of this user is too recent to change. </summary>

.

        public const int PasswordTooRecent = 2246;

.

        /// <summary> 2403 - This share name or password is invalid. </summary>

.

        public const int BadPasswordCore = 2403;

.

        /// <summary> 2458 - A password mismatch has been detected. </summary>

.

        public const int PasswordMismatch = 2458;

.

        /// <summary> 2701 - The password must change at the next logon. </summary>

.

        public const int PasswordMustChange = 2701;

.

        /// <summary> 2703 - The password is too long. </summary>

.

        public const int PasswordTooLong = 2703;

.

        /// <summary> 2704 - The password does not meet the complexity policy. </summary>

.

        public const int PasswordNotComplexEnough = 2704;

.

        /// <summary> 2705 - The password does not meet the requirements of the password filter DLLs. </summary>

.

        public const int PasswordFilterError = 2705;

.

    public static PropertyKey PKEY_Pairing_IsWifiOnlyDevice = new PropertyKey(0x8807cae6, 0x7db6, 0x4f10, 0x8e, 0xe4, 0x43, 0x5e, 0xaa, 0x13, 0x92, 0xbc, 0x0000010);    // VT_BOOL

.

    public static PropertyKey PKEY_WCN_DevicePasswordId = new PropertyKey(0x88190b89, 0x4684, 0x11da, 0xa2, 0x6a, 0x00, 0x02, 0xb3, 0x98, 0x8e, 0x81, 0x0000000c); // VT_INT

.

    public static PropertyKey SENSOR_DATA_TYPE_BOOLEAN_SWITCH_STATE = new PropertyKey(0X38564A7C, 0XF2F2, 0X49BB, 0X9B, 0X2B, 0XBA, 0X60, 0XF6, 0X6A, 0X58, 0XDF, 2); //[VT_BOOL]

.

    public static PropertyKey SENSOR_DATA_TYPE_MULTIVALUE_SWITCH_STATE = new PropertyKey(0X38564A7C, 0XF2F2, 0X49BB, 0X9B, 0X2B, 0XBA, 0X60, 0XF6, 0X6A, 0X58, 0XDF, 3); //[VT_R8]

.

See BuildExplicitAccessWithName

50: SW
.

const UInt32 SWP_NOSIZE      =0x0001;

.

const UInt32 SWP_NOMOVE      =0x0002;

.

const UInt32 SWP_NOZORDER    =0x0004;

.

const UInt32 SWP_NOREDRAW    =0x0008;

.

const UInt32 SWP_NOACTIVATE      =0x0010;

.

const UInt32 SWP_FRAMECHANGED    =0x0020;

.

const UInt32 SWP_SHOWWINDOW      =0x0040;

.

const UInt32 SWP_HIDEWINDOW      =0x0080;

.

const UInt32 SWP_NOCOPYBITS      =0x0100;

.

const UInt32 SWP_NOOWNERZORDER   =0x0200;

.

const UInt32 SWP_NOSENDCHANGING  =0x0400;

.

const UInt32 SWP_DRAWFRAME       =SWP_FRAMECHANGED;

.

const UInt32 SWP_NOREPOSITION    =SWP_NOOWNERZORDER;

.

const UInt32 SWP_DEFERERASE      =0x2000;

.

const UInt32 SWP_ASYNCWINDOWPOS  =0x4000;

.

    Const SWP_NOSIZE As Integer = &H1

.

    Const SWP_NOMOVE As Integer = &H2

.

    Const SWP_NOZORDER As Integer = &H4

.

    Const SWP_NOREDRAW As Integer = &H8

.

    Const SWP_NOACTIVATE As Integer = &H10

.

    Const SWP_FRAMECHANGED As Integer = &H20

.

    Const SWP_SHOWWINDOW As Integer = &H40

.

    Const SWP_HIDEWINDOW As Integer = &H80

.

    Const SWP_NOCOPYBITS As Integer = &H100

.

    Const SWP_NOOWNERZORDER As Integer = &H200

.

    Const SWP_NOSENDCHANGING As Integer = &H400

.

    Const SWP_DRAWFRAME As Integer = SWP_FRAMECHANGED

.

    Const SWP_NOREPOSITION As Integer = SWP_NOOWNERZORDER

.

    Const SWP_DEFERERASE As Integer = &H2000

.

    Const SWP_ASYNCWINDOWPOS As Integer = &H4000

51: SWP
.

const UInt32 SWP_NOSIZE      =0x0001;

.

const UInt32 SWP_NOMOVE      =0x0002;

.

const UInt32 SWP_NOZORDER    =0x0004;

.

const UInt32 SWP_NOREDRAW    =0x0008;

.

const UInt32 SWP_NOACTIVATE      =0x0010;

.

const UInt32 SWP_FRAMECHANGED    =0x0020;

.

const UInt32 SWP_SHOWWINDOW      =0x0040;

.

const UInt32 SWP_HIDEWINDOW      =0x0080;

.

const UInt32 SWP_NOCOPYBITS      =0x0100;

.

const UInt32 SWP_NOOWNERZORDER   =0x0200;

.

const UInt32 SWP_NOSENDCHANGING  =0x0400;

.

const UInt32 SWP_DRAWFRAME       =SWP_FRAMECHANGED;

.

const UInt32 SWP_NOREPOSITION    =SWP_NOOWNERZORDER;

.

const UInt32 SWP_DEFERERASE      =0x2000;

.

const UInt32 SWP_ASYNCWINDOWPOS  =0x4000;

.

        /// The specified network password is not correct.

.

        public const int ERROR_INVALID_PASSWORD = 86;

.

        /// The verify-on-write switch parameter value is not correct.

.

        public const int ERROR_INVALID_VERIFY_SWITCH = 118;

.

        public const int ERROR_SWAPERROR = 999;

.

        /// The account name is invalid or does not exist, or the password is invalid for the account name specified.

.

        /// The format of the specified password is invalid.

.

        /// The password is too complex to be converted to a LAN Manager password. The LAN Manager password returned is a NULL string.

.

        /// Unable to update the password. The value provided as the current password is incorrect.

.

        public const int ERROR_WRONG_PASSWORD = 1323;

.

        /// Unable to update the password. The value provided for the new password contains values that are not allowed in passwords.

.

        public const int ERROR_ILL_FORMED_PASSWORD = 1324;

.

        /// Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirement of the domain.

.

        public const int ERROR_PASSWORD_RESTRICTION = 1325;

.

        /// Logon failure: unknown user name or bad password.

.

        /// Logon failure: user account restriction.  Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.

.

        /// Logon failure: the specified account password has expired.

.

        /// A cross-encrypted password is necessary to change a user password.

.

        /// A cross-encrypted password is necessary to change this user password.

.

        /// Mutual Authentication failed. The server's password is out of date at the domain controller.

.

        /// The user's password must be changed before logging on the first time.

.

        /// The network connection was made successfully, but the user had to be prompted for a password other than the one originally specified.

.

        /// Security Account Manager needs to get the boot password.

.

        /// Manifest Parse Error : Switch from current encoding to specified encoding not supported.

.

        public const int ERROR_SXS_XML_E_INVALIDSWITCH = 14068;

.

        /// The server process could not be started because the configured identity is incorrect.  Check the username and password.

.

        public const int STG_E_DISKISWRITEPROTECTED = (int)(0x80030013 - 0x100000000);

.

        /// The identity or password set on the application is not valid

.

        public const int COMADMIN_E_USERPASSWDNOTVALID = (int)(0x80110414 - 0x100000000);

53: WM
.
WM_NEXTMENU 0x213 The WM_NEXTMENU message is sent to an application when the right or left arrow key is used to switch between the menu bar and the system menu.

shell32

.
Summary
Extends ITaskbarList2 by exposing methods that support the unified launching and switching taskbar button functionality added in Windows 7. This functionality includes thumbnail representations and switch targets based on individual tabs in a tabbed application, thumbnail toolbars, notification and status overlays, and progress indicators.
.

/// Extends ITaskbarList2 by exposing methods that support the unified launching and switching taskbar button

.

/// functionality added in Windows 7. This functionality includes thumbnail representations and switch

.

            switch(msg)

.

        SW_HIDE = 0,

.

        SW_SHOWNORMAL = 1,

.

        SW_NORMAL = 1,

.

        SW_SHOWMINIMIZED = 2,

.

        SW_SHOWMAXIMIZED = 3,

.

        SW_MAXIMIZE = 3,

.

        SW_SHOWNOACTIVATE = 4,

.

        SW_SHOW = 5,

.

        SW_MINIMIZE = 6,

.

        SW_SHOWMINNOACTIVE = 7,

.

        SW_SHOWNA = 8,

.

        SW_RESTORE = 9,

.

        SW_SHOWDEFAULT = 10,

.

        SW_FORCEMINIMIZE = 11,

.

        SW_MAX = 11

.

Check the [SW] constants at to see what value to pass in the nShow member. Typically you'll pass SW_SHOW.

.

info.nShow = SW_SHOW

.

private const int SW_SHOW = 5;

.

    info.nShow = SW_SHOW;

.

Public Const SW_SHOW As Short = 5

.

sei.nShow = SW_SHOW

.

        /// or a nonactive Fast User Switching session is in progress.

ntdsapi

.
Summary
The DsFreePasswordCredentials function frees memory allocated for a credentials structure by the DsMakePasswordCredentials function.
.

EntryPoint = "DsFreePasswordCredentials", SetLastError = true)]

.

public static extern void DsFreePasswordCredentials(

.

Declare Function DsFreePasswordCredentials Lib "ntdsapi.dll" (TODO) As TODO

.
Documentation
[DsFreePasswordCredentials] on MSDN
.
Summary
The DsMakePasswordCredentials function constructs a credential handle suitable for use with the DsBindWithCred function.
.

EntryPoint = "DsMakePasswordCredentialsW", SetLastError = true)]

.

public static extern UInt32 DsMakePasswordCredentials(

.

     [MarshalAs(UnmanagedType.LPWStr)] String Password,

.

Declare Function DsMakePasswordCredentials Lib "ntdsapi.dll" (TODO) As TODO

.
Documentation
[DsMakePasswordCredentials] on MSDN

dnsapi

.

        switch (resCode)

.

            switch (record.Value.Type)

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


 
Access PInvoke.net directly from VS: