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

Structures

.
Summary
The ADAPTER_STATUS structure contains information about a network adapter via the (NetBIOS) API call. This structure is pointed to by the ncb_buffer member of the NCB structure. ADAPTER_STATUS is followed by as many NAME_BUFFER structures as required to describe the network adapters on the system
.

    short recv_buff_unavail;

.

    short xmit_buf_unavail;

.

   Dim recv_buff_unavail As Short

.

   Dim xmit_buf_unavail As Short

.

   WORD    recv_buff_unavail;

.

   WORD    xmit_buf_unavail;

.

        internal AI ai_flags;

.

        internal ADDRESS_FAMILIES_INT ai_family;

.

        internal SOCKET_TYPE_INT ai_socktype;

.

        internal PROTOCOL_INT ai_protocol;

.

        internal uint ai_addrlen;

.

        //internal IntPtr ai_canonname;

.

        internal char* ai_canonname;

.

        //internal IntPtr ai_addr;

.

        internal sockaddr_UNSAFE* ai_addr;

.

        //internal IntPtr ai_next;

.

        internal addrinfo* ai_next;

.

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

.

            var info = ai_next;

.

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

.

            info = info->ai_next;

.

        get { return new string(ai_canonname); }

.

            (IntPtr) ai_addr,

.

            (IntPtr) ai_addr,

.

                   ai_flags = AI.AI_NOTHING,

.

                   ai_family = ADDRESS_FAMILIES_INT.AF_UNSPEC,

.

                   ai_socktype = SOCKET_TYPE_INT.SOCK_STREAM,

.

                   ai_protocol = PROTOCOL_INT.IPPROTO_IP

.

AI

3: AI
.

internal enum AI : int

.

    AI_PASSIVE = 0x01,

.

    /// The canonical name is returned in the first ai_canonname member.

.

    AI_CANONNAME = 0x02,

.

    AI_NUMERICHOST = 0x04,

.

    AI_ADDRCONFIG = 0x0400,

.

    /// The address information can be from a non-authoritative namespace provider. This option is only supported on Windows Vista or later for the NS_EMAIL namespace.

.

    AI_NON_AUTHORITATIVE = 0x04000,

.

    /// The address information is from a secure channel. This option is only supported on Windows Vista or later for the NS_EMAIL namespace.

.

    AI_SECURE = 0x08000,

.

    /// The address information is for a preferred name for a user. This option is only supported on Windows Vista or later for the NS_EMAIL namespace.

.

    AI_RETURN_PREFERRED_NAMES = 0x010000,

.

    AI_FILESERVER = 0x00040000

.

Structure AI

.
Documentation
[AI] on MSDN
.
Summary
Contains information about the dimensions and color format of a DIB.
.
Summary
Contains information about the dimensions and color format of a DIB.
.

The BITMAPINFOHEADER contains information about the color space and dimensions of a DIB.

.

   Public Shared Sub Main()

.

   End Sub 'Main

.
Summary
.

struct BP_PAINTPARAMS : IDisposable

.

    public BP_PAINTPARAMS(BPPF flags)

.

      cbSize = Marshal.SizeOf(typeof(BufferedPaintParams));

.

Structure BP_PAINTPARAMS

.
Documentation
[BP_PAINTPARAMS] on MSDN
.
Summary
Contains parameters for the SHBrowseForFolder function and receives information about the folder selected by the user.
.
Summary
.
Summary
The CAPTUREPARMS structure contains parameters that control the streaming video capture process. This structure is used to get and set parameters that affect the capture rate, the number of buffers to use while capturing, and how capture is terminated.
.

    /// The CAPTUREPARMS structure contains parameters that control the streaming video capture process.

.

        /// if memory is unavailable.

.

        ''' if memory is unavailable.

.
Summary
Contains operating system version information for Windows CE.
.
Summary
.
Summary
The CERT_PUBLIC_KEY_INFO structure contains a public key and its algorithm.
.
Summary
.

/// Contains extended result information obtained by calling the ChangeWindowMessageFilterEx function

.

     /// If the function succeeds, this field contains a value from the ExtStatusEnum.

17: CIDA
.

    /// An array of offsets, relative to the beginning of this structure. The array contains

.

    /// cidl+1 elements. The first element of aoffset contains an offset to the fully-qualified

.

    /// Each of the remaining elements of the array contains an offset to one of the PIDLs to be

.

Actually, there's no COLORREF structure in native Win32. It is typedef-ed to DWORD, which means that in the managed world its direct counterpart is [System.Int32] (aka int in C#). So, when faced with interop involving COLORREF'S you'd better treat them as int's. Also have in mind that the color components are stored in reverse order, i.e. the Red component is in the lowest-byte. In short, the format is 0x00BBGGRR. You can use a code similar to the following to obtain a COLORREF:

.
Summary
The COMBOBOXINFO structure contains combo box status information.
.

->If there are no bytes in the input buffer, ReadFile waits until a byte arrives and then returns immediately.

.
Summary
Contains the desktop item options.
.
Summary
Contains the desktop item options.
.
Summary
.

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

.

// The first field, dwData, may contain anything the sender wishes; it is the equivalent of System.Object sender in an EventHandler.

.

// An example of sending a message containing a txStruct.

.

// containing a geocoordinate rectangle

.

     /// locally than it does remotely. This is useful in inter-domain scenarios where there is

.
Summary
The CREDUI_INFO structure is used to pass information to the CredUIPromptForCredentials function that creates a dialog box used to obtain credentials information.
.
Summary
.
Summary
The CRYPT_INTEGER_BLOB structure contains an arbitrary array of bytes. The structure definition includes aliases appropriate to the various functions that use it.
.
Summary
The CRYPT_BIT_BLOB structure contains a set of bits represented by an array of bytes.
.
Summary
The CRYPT_KEY_PROV_INFO structure contains information about a key container within a cryptographic service provider (CSP).
.

    Public pwszContainerName As String

.
Summary
The CRYPT_KEY_PROV_PARAM structure contains information about a key container parameter. This structure is used with the CRYPT_KEY_PROV_INFO structure.
.

°¬K)x€¹¾¥Ç «‚KŸèÎæH¼ÈtY °ÎŠÊ!¯®cÄ)Ƴƒó~þñfÍM’î J…as†êKwˆ‘'HŠ‚2ŠÕèš7ˆ²“@ˆ¸7žS¬I$Võm¼u][JÿvÇ´uwU[}vñ˂B™c!LjÚiý8¹ ýD~|rفÎ%¿"gY²âºØÍ“/‘9¦ÌÑPkò¿:URŅ+ßáUZ7Àەn p³Œ8´Í„Áa0¼žD[Sba;½;k« =w¬Õ.‰¥A‹Ã÷=0¹¹EHv5Ėè£ôÔTŸâÑMUœ&‚@Œ±Joáó f/®—d DŒ=5ø"{I–cmvba[(qK‹™aIÓõ‡ñ†,ò‹"]ÚìNž¤e÷ÉSªã9•|&ΟTĒ=ïmÐ×ÙWØyÅFÓ«áã%AÉwÿòëû° ¥ä2I0lfëjÌò.'BŽ•ÜLO Ê˜Ò/%¢—‰A²‡0ët&á½N&¼³BtA¼

.

șiE ¡AQ+úÓ0FœƒFúžÉ;(øì ç#•êÞ]BͺŸ9n‡K ò…@r„ôçÖÿëÏ@n‚®gºN?3²ó T™$ySž‚Z//Ai€â¸sõ«Ñ7!÷

.

ّŒ‰)ú¥<©ŠçPb¨8Bk×ïìÕX3SÞ¬!íý¦[{„qP—¡¨Ä÷‰¨6:Ñ3‡NMòû,Ò¾jùšÜ\B‡â~H“÷›°QÇ'düÜèäœuع”s“|#QyÍÏâÚo.8é-ˆVm™*'õìyiÜY4ðH<«]…´2?bó–€J4Þ!':qû‚µ% Ôåí“ìIÀø+2¥ÃνO&g%èy8«6ъ’-ßrÔ M q™Í$ãzòQ603m†C‘Ó…ªζJ%+ùa½Yi|x°c‘Øp9&QßNøÂ³£p«ÀCmTUñ¢Wˆ/M¥d…åe“D¸ë©ÿûpœ˜•\Xì:f—L×z”c«åÊÁ\ai:›H×°vhb¶BÑSsÈ¡×Ý?|¼MŸotpӔïH‘é’áåïŸeñìû†Ø”TÑYø¬ËL¿À>#Šîü^ekÅb%&Nöàö,çâ…Q2Ó“/ñ],0R‰åH¼‡0`£ÉŠs¨è

.
Summary
Used by WaitForDebugEvent. Not tested in 64bit environments.
.
Documentation
.
Summary
Contains and receives information for a band object.
.

    /// This member is ignored if dwModeFlags does not contain DBIMF_VARIABLEHEIGHT.

.

    /// The band container will attempt to use these values, but the band is not guaranteed to be this size.

.

    /// This member is ignored if dwModeFlags does not contain the DBIMF_BKCOLOR flag.

.
Summary
Contains information about the initialization and environment of a printer or a display device.
.

See the DMCOLOR, DMDUP and DMCOLLATE enums for more details.

.
Summary
Contains information about a class of devices.
.
Summary
The DISK_GEOMETRY structure contains the geometry of disk devices and media.
.

The Load method is needed because there's no way (that I can find) to have Marshal automatically put the trailing bytes into the Buffer array. I have invented the "DNS_RPC_RECORD_HEADER" type so that I can use PtrToStructure to load all the constant-sized parts automatically.

.
WARNING
The documentation (from which I created this structure) seems to have REVERSED the fields dwTimeStamp and dwReserved. When I look at live data on the server, the field which is allegedly "dwTimeStamp" is zero, but "dwReserved" contains a value equal to the time stamp (An integer value representing the number of hours that have elapsed since midnight (00:00:00), January 1, 1601 UTC). The LDP.exe tool parses the data correctly. So I'm going to switch my struct above to reflect reality.
.

struct DOMAIN_CONTROLLER_INFO

.

    public string    DomainControllerName;

.

    public string    DomainControllerAddress;

.

    public uint    DomainControllerAddressType;

.

    public Guid    DomainGuid;

.

    public string    DomainName;

.

Structure DOMAIN_CONTROLLER_INFO

.
Documentation
[DOMAIN_CONTROLLER_INFO] on MSDN
.
Summary
Contains the SSID of an interface.
.
Summary
.

        public DRIVE_LAYOUT_INFORMATION_UNION DriveLayoutInformaiton;

.
Summary
Contains layout information about a GPT style drive. This is a structure within the DRIVE_LAYOUT_INFORMATION_EX structure.
.
Summary
Contains layout information about a MBR style drive. This is a structure within the DRIVE_LAYOUT_INFORMATION_EX structure.
.

    internal struct DSROLE_PRIMARY_DOMAIN_INFO_BASIC

.

        public string DomainNameFlat;

.

        public string DomainNameDns;

.

        public string DomainForestName;

.

        public Guid DomainGuid;

.

Structure DSROLE_PRIMARY_DOMAIN_INFO_BASIC

.
Documentation
[DSROLE_PRIMARY_DOMAIN_INFO_BASIC] on MSDN
.

struct DS_DOMAIN_CONTROLLER_INFO_2 {

.

     [MarshalAs(UnmanagedType.LPTStr)] public string ComputerObjectName;     // CN=server1,OU=Domain Controllers,DC=dom1,DC=ad,DC=sys

.

Structure DS_DOMAIN_CONTROLLER_INFO_2

.

returned by DsGetDomainControllerInfo()

.
Summary
The DS_NAME_RESULT_ITEM structure contains a name converted by the DsCrackNames function, along with associated error and domain data.
.

  string pDomain;

.

    public struct DWM_THUMBNAIL_PROPERTIES

.

Used with DwmUpdateThumbnailProperties.

.
Documentation
[DWM_THUMBNAIL_PROPERTIES] on MSDN
.
Summary
Contains information about a balloon tip associated with a button control.
.
Summary
The ENUMLOGFONTEX structure contains information about an enumerated font.
.

    public string DrEmailAddress;

.
Summary
The FILE_INFO_3 structure contains the identification number and other pertinent information about files, devices, and pipes.
.
Note
When using this structure with NetFileEnum, the "Pack:=4" attribute may cause Marshal.PtrToStructure to fail.
.

This structure is allocated by a user-mode application. It is a container for a reply that the application sends in response to a message received from a kernel-mode minifilter or minifilter instance.

.

    DVASPECT_THUMBNAIL = 2,

.

    //     The data is in the streams and storages contained by this IStorage instance.

.

    DVASPECT_THUMBNAIL = 2

.

    '     The data is in the streams and storages contained by this IStorage instance.

.
Summary
The GROUP_INFO_1 structure contains a global group name and a comment to associate with the group.
.

The GUITHREADINFO structure contains information about a graphical user interface (GUI) thread. For example you can get the caret (blinking cursor in textfields) position

.
Summary
Contains information about an icon or a cursor.
.
Summary
.
Summary
.

    ''' Note that some OSs and/or programs may fail if the header is not a multiple of 512 bytes.

.

    ''' The program can't be loaded if there isn't at least this much memory available to it.

.

    ''' Normally, the OS reserves all the remaining conventional memory for your program,

.

    ''' Overlay number. Overlay number. Normally zero, meaning that it's the main program.

.

     ' Note that some OSes and/or programs may fail if the header is not a multiple of 512 bytes.

.

     ' The program can't be loaded if there isn't at least this much memory available to it.

.

     ' Normally, the OS reserves all the remaining conventional memory for your program, but

.

     ' Overlay number. Overlay number. Normally zero, meaning that it's the main program.

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


 
Access PInvoke.net directly from VS: