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

userenv

.

            throw new System.ComponentModel.Win32Exception(lastError, "CreateEnvironmentBlock Error " + lastError);

odbccp32

.

     ODBC_ERROR_COMPONENT_NOT_FOUND = 6,

coredll

.

    throw new System.ComponentModel.Win32Exception();

.

    using System.ComponentModel;

.

    InitializeComponent();

.

        InitializeComponent();

.

    InitializeComponent()

.

    'Add any initialization after the InitializeComponent() call

.

    'Form overrides dispose to clean up the component list.

.

    Private Sub InitializeComponent()

.

     InitializeComponent();

.

     //Add any initialization after the InitializeComponent() call

.

     //Form overrides dispose to clean up the component list.

.

     private void InitializeComponent()

Interfaces

.

     int GetDesktopItemOptions(ref COMPONENTSOPT pco, int dwReserved);

.

     int SetDesktopItemOptions(ref COMPONENTSOPT pco, int dwReserved);

.

     int AddDesktopItem(ref COMPONENT pcomp, int dwReserved);

.

     int AddDesktopItemWithUI(IntPtr hwnd, ref COMPONENT pcomp, DtiAddUI dwFlags);

.

     int ModifyDesktopItem(ref COMPONENT pcomp, ComponentModify dwFlags);

.

     int RemoveDesktopItem(ref COMPONENT pcomp, int dwReserved);

.

     int GetDesktopItem(int nComponent, ref COMPONENT pcomp, int dwReserved);

.

     int GetDesktopItemByID(IntPtr dwID, ref COMPONENT pcomp, int dwReserved);

.

     int GenerateDesktopItemHtml([MarshalAs(UnmanagedType.LPWStr)] string pwszFileName, ref COMPONENT pcomp, int dwReserved);

.

     int AddUrl(IntPtr hwnd, [MarshalAs(UnmanagedType.LPWStr)] string pszSource, ref COMPONENT pcomp, AddURL dwFlags);

.

     int GetDesktopItemBySource([MarshalAs(UnmanagedType.LPWStr)] string pwszSource, ref COMPONENT pcomp, int dwReserved);

.

    Function GetDesktopItemOptions(ByRef pco As COMPONENTSOPT, ByVal dwReserved As Integer) As Integer

.

    Function SetDesktopItemOptions(ByRef pco As COMPONENTSOPT, ByVal dwReserved As Integer) As Integer

.

    Function AddDesktopItem(ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer

.

    Function AddDesktopItemWithUI(ByVal hwnd As IntPtr, ByRef pcomp As COMPONENT, ByVal dwFlags As DtiAddUI) As Integer

.

    Function ModifyDesktopItem(ByRef pcomp As COMPONENT, ByVal dwFlags As ComponentModify) As Integer

.

    Function RemoveDesktopItem(ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer

.

    Function GetDesktopItem(ByVal nComponent As Integer, ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer

.

    Function GetDesktopItemByID(ByVal dwID As IntPtr, ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer

.

    Function GenerateDesktopItemHtml(<MarshalAs(UnmanagedType.LPWStr)> ByVal pwszFileName As String, ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer

.

    Function AddUrl(ByVal hwnd As IntPtr, <MarshalAs(UnmanagedType.LPWStr)> ByVal pszSource As String, ByRef pcomp As COMPONENT, ByVal dwFlags As AddURL) As Integer

.

    Function GetDesktopItemBySource(<MarshalAs(UnmanagedType.LPWStr)> ByVal pwszSource As String, ByRef pcomp As COMPONENT, ByVal dwReserved As Integer) As Integer

.

COMPONENTSOPT opts = new COMPONENTSOPT();

.

opts.dwSize = COMPONENTSOPT.SizeOf;

.

    ,BINDSTATUS_BEGINDOWNLOADCOMPONENTS

.

    ,BINDSTATUS_INSTALLINGCOMPONENTS

.

    ,BINDSTATUS_ENDDOWNLOADCOMPONENTS

.

using System.ComponentModel;

.

        /// Returns an enumerator for the component categories registered on the system.

.

        /// <returns>can be used to enumerate the CATIDs and localized description strings of the component categories registered with the system.</returns>

.
Summary
The ICatRegister interface provides methods for registering and unregistering component category information in the Registry. This includes both the human-readable names of categories and the categories implemented/required by a given component or class.
.

    /// provides methods for registering and unregistering component category

.

    /// given component or class.

.

        /// Registers one or more component categories. Each component category

.

        /// <param name="cCategories">The number of component categories to register.</param>

.

        /// registered for the same component category.

.

        /// Removes the registration of one or more component categories. Each component

.

        /// Registers the class as implementing one or more component categories.

.

        /// Registers the class as requiring one or more component categories.

.

Imports System.ComponentModel

.

    InitializeComponent()

.

    Private Sub InitializeComponent()

.

    Imports System.ComponentModel

.

    Private components As System.ComponentModel.Container = Nothing

.

        InitializeComponent()

.

        If components IsNot Nothing Then

.

            components.Dispose()

.

#Region "Component Designer generated code"

.

    Private Sub InitializeComponent()

.

Imports System.ComponentModel

.

    InitializeComponent()

.

    Private Sub InitializeComponent()

.

Imports System.ComponentModel

.

    Private components As System.ComponentModel.Container = Nothing

.

    InitializeComponent()

.

        If components IsNot Nothing Then

.

        components.Dispose()

.

#Region "Component Designer generated code"

.

    Private Sub InitializeComponent()

.

Microsoft has provide a complete wrapper for this and other Windows 7 components in the Windows API Code Pack for Microsoft .NET: http://archive.msdn.microsoft.com/WindowsAPICodePack/Release/ProjectReleases.aspx?ReleaseId=4906

.
Summary
The ICatRegister interface provides methods for registering and unregistering component category information in the Registry. This includes both the human-readable names of categories and the categories implemented/required by a given component or class.
.
Summary
IInternetSecurityManager enables client applications to influence the security of the browser components.

oleacc

.
Summary
The IAccessible interface is the heart of Microsoft Active Accessibility. Applications implement this Component Object Model (COM) interface to represent their custom user interface elements, which can include their client area as accessible objects, if necessary. Client applications call IAccessible methods and properties to obtain information about an application's user interface and data.

iphlpapi

.

                          where thisInterface.Supports(NetworkInterfaceComponent.IPv4)

.

                          where thisInterface.Supports(NetworkInterfaceComponent.IPv6)

.

    throw new System.ComponentModel.Win32Exception( r );

.

    using System.ComponentModel;

gdi32

.

InitializeComponent();

.

        InitializeComponent();

.

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

.
NOTE
GradientFill uses colors of 64 bits, i.e. 16 bits per component (16 bits each for the red, for the green, for the blue and for the alpha), so the type of R, G and B fields in the TRIVERTEX struct are ushort, and not byte.
.

using System.ComponentModel;

.

        private System.ComponentModel.Container components = null;

.

            InitializeComponent();            

.

                if (components != null)

.

                    components.Dispose();

.

        private void InitializeComponent()

kernel32

.

        throw new System.ComponentModel.Win32Exception(err);

.

using System.ComponentModel;

.

       dwErrorCode.ToString, New System.ComponentModel.Win32Exception(dwErrorCode))

.

By setting the SetLastError property to true, a System.ComponentModel.Win32Exception will generated if the function fails.

.

            throw new System.ComponentModel.Win32Exception(Marshal.GetLastWin32Error());

.

    if (error != 0) throw new System.ComponentModel.Win32Exception(error);

.

This functionality is also given by System.ComponentModel.Win32Exception:

.

This functionality is also given by System.ComponentModel.Win32Exception:

.

    throw new System.ComponentModel.Win32Exception();

.

    throw new System.ComponentModel.Win32Exception();

.

    DWORD maxComponentLen = 0;

.

        &maxComponentLen,

.

    out uint maximumComponentLength,

.

     ByRef MaximumComponentLength As UInt32, _

.

   ''' Returns volume name and serial number, maximum path component length, and filesystem name and flags

.

   ''' <param name="MaxComponentLength">Returns max. path component lenght.</param>

.

     ByRef MaxComponentLength As UInt32, _

.

                          sernum, MaxComponentLength, FileSystemFlags, _

.

      If RetVal = 0 Then Throw New System.ComponentModel.Win32Exception(Err.LastDllError)

.

        throw new System.ComponentModel.Win32Exception();

.

        throw new System.ComponentModel.Win32Exception();

.

        Throw New System.ComponentModel.Win32Exception

.

            throw new System.ComponentModel.Win32Exception();

.

        // Get the minimum remaining string length once all required path components are accounted for.

.

Imports System.ComponentModel

.

using System.ComponentModel;

comctl32

.

using System.ComponentModel;

.

       /// <exception cref="System.ComponentModel.Win32Exception">Unable to draw the image with defined parameters.</exception>

.

       /// <exception cref="System.ComponentModel.Win32Exception">The image cannot be added as an overlay.</exception>

.

       /// <exception cref="System.ComponentModel.Win32Exception">The image cannot be added as an overlay.</exception>

.

using System.ComponentModel;

.

       /// <exception cref="System.ComponentModel.Win32Exception">Unable to draw the image with defined parameters.</exception>

.

       /// <exception cref="System.ComponentModel.Win32Exception">The image cannot be added as an overlay.</exception>

.

       /// <exception cref="System.ComponentModel.Win32Exception">The image cannot be added as an overlay.</exception>

uxtheme

.

The System.Windows.Forms.VisualStyles namespace allows rendering of various Visual Style elements, which sometimes can be cumbersome if you have alot of elements to work with or just want to keep the code to a minimal (or are on the design team and not the code team). Or you can get the freeware .NET component to place VisualStyleElement parts in the IDE forms designer using the VisualStyleRenderer .NET control. You can

dhcpsapi

.

using System.ComponentModel;

wininet

.

public struct URL_COMPONENTS

.

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

.

    ref URL_COMPONENTS lpUrlComponents);

.

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

.

URL_COMPONENTS

.

Structure URL_COMPONENTS

.
Documentation
[URL_COMPONENTS] on MSDN

crypt32

.

    using System.ComponentModel;

shell32

49: CSIDL
.

        /// Version 5.0. A folder for components that are shared across applications. A typical path is C:\Program Files\Common.

.

        InitializeComponent();

.

        /// has been delivered to all affected components.

.

        /// The function should begin delivering notifications to all affected components

.

    ' has been delivered to all affected components.

.

    ' The function should begin delivering notifications to all affected components

.

Imports System.ComponentModel

.

    Private Overloads Sub OnClosing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs)

.

     Dim ex As New System.ComponentModel.Win32Exception(System.Runtime.InteropServices.Marshal.GetLastWin32Error())

.

   Dim ex As New System.ComponentModel.Win32Exception(System.Runtime.InteropServices.Marshal.GetLastWin32Error())

.

        // Version 5.0. A folder for components that are shared across

dwmapi

.

If you're using DevExpress components::

msi

.
Summary
Returns the full path to an installed component
.

public static extern UInt32 MsiGetComponentPath(string szProduct, string szComponent, [Out] StringBuilder lpPathBuf,  ref UInt32 pcchBuf);

.

Declare Function MsiGetComponentPath Lib "msi.dll" (TODO) As TODO

.

i = MsiClass.MsiGetComponentPath(sbPc.ToString(), sbComp.ToString(), sbPth, ref chs);

.
Summary
Examines a shortcut and returns its product, feature name, and component if available
.

    [Out] StringBuilder szProductCode, [Out] StringBuilder szFeatureId, [Out] StringBuilder szComponentCode);

.
Summary
Returns the full path to a Windows Installer component containing an assembly. The function prompts for a source and performs any necessary installation. MsiProvideAssembly also increments the usage count for the feature.

shlwapi

.
Summary
Truncates a path to fit within a certain number of characters by replacing path components with ellipses.
.

''' Truncates a path to fit within a certain number of characters by replacing path components with ellipses.

.
Summary
Truncates a path to fit within a certain number of characters by replacing path components with ellipses.
.

''' Truncates a path to fit within a certain number of characters by replacing path components with ellipses.

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


 
Access PInvoke.net directly from VS: