Desktop Functions: Smart Device Functions:
|
Search Results for "set" in [All]ncrypt1: 2FDP6D1C48HTCOC983I396PJFCK3GZXUOXG114EUQE6M87GSFBNK8Z9FJKGYXTFM1T4DF6G40DW77LORZFAUW2NAYLMBAH806LK1 ËÙ§ De§8g:RZì[%ªÛ§ÔªAJÿ'^£ÏQaµªy3ç°P ¨²L#i}FsV<q_g¸îvµ"&Ök7}Ù©NßF5RsEt
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
static extern int NCryptSetProperty(
[DllImport("Ncrypt.dll", SetLastError = true, ExactSpelling = true)]
internal static extern int NCryptSetProperty(IntPtr hObject,
Declare Function NCryptSetProperty Lib "ncrypt.dll" (TODO) As TODO wer
[DllImport("wer.dll", SetLastError = true, CharSet = CharSet.Unicode)]
<DllImport("wer.dll", SetLastError:=True, CharSet:=CharSet.Unicode)> Private Shared Function WerAddExcludedApplication(ByVal pwzExeName As String, ByVal bAllUsers As Boolean) As Integer 12: WerReportAddDump
[DllImport("wer.dll", CharSet = CharSet.Unicode, SetLastError = true)] 13: WerReportCreate
[DllImport("wer.dll", CharSet = CharSet.Unicode, SetLastError = true)]
[DllImport("wer.dll", CharSet = CharSet.Unicode, SetLastError = true)]
internal static extern int WerReportSetParameter(IntPtr hReportHandle, int dwparamID, string pwzName, string pwzValue);
Declare Function WerReportSetParameter Lib "wer.dll" (TODO) As TODO 15: WerReportSubmit
[DllImport("wer.dll", CharSet = CharSet.Unicode, SetLastError = true)] Structures16: ACTCTX
[StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] 17: ANIMATIONINFO
/// Used with SystemParametersInfo when SPI_GETANIMATION or SPI_SETANIMATION action is specified.
/// The uiParam value must be set to (System.UInt32)Marshal.SizeOf(typeof(ANIMATIONINFO)) when using this structure.
/// <param name="iMinAnimate">If non-zero and SPI_SETANIMATION is specified, enables minimize/restore animation.</param>
/// Always must be set to (System.UInt32)Marshal.SizeOf(typeof(ANIMATIONINFO)).
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
<StructLayout(LayoutKind.Sequential, CharSet := CharSet.Auto)> 19: BITMAP The unmanaged size of the structure must be set before the structure can be used by the API. This can be done by using the Init() call which uses the Marshal.SizeOf(this) method to get the appropriate size. 20: BITMAPINFO The unmanaged size of the structure must be set before the structure can be used by the API. This can be done by using the Init() call which uses the Marshal.SizeOf(this) method to get the appropriate size. 21: BITMAPINFOHEADER The unmanaged size of the structure must be set before the structure can be used by the API. This can be done by using the Init() call which uses the Marshal.SizeOf(this) method to get the appropriate size. 22: BitVector32
' Creates and initializes a BitVector32 with all bit flags set to FALSE.
' Sets the alternating bits to TRUE.
Console.WriteLine("Setting alternating bits to TRUE:") ' Setting alternating bits to TRUE: 23: BLENDFUNCTION
Set(ByVal value As Byte)
End Set
Set(ByVal value As Byte)
End Set
Set(ByVal value As Byte)
End Set
Set(ByVal value As Byte)
End Set
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] 26: BP_PAINTPARAMS
set
set
<FieldOffset(0)> Public dwFileAttributes As Int32
<FieldOffset(4)> Public ftCreationTime As Int64 ' FILETIME
<FieldOffset(12)> Public ftLastAccessTime As Int64 ' FILETIME
<FieldOffset(20)> Public ftLastWriteTime As Int64 ' FILETIME
<FieldOffset(28)> Public dwVolumeSerialNumber As Int32
<FieldOffset(32)> Public nFileSizeHigh As Int32
<FieldOffset(36)> Public nFileSizeLow As Int32
<FieldOffset(40)> Public nNumberOfLinks As Int32
<FieldOffset(44)> Public nFileIndexHigh As Int32
<FieldOffset(48)> Public nFileIndexLow As Int32 with [FieldOffset()] for every field of structure. 28: CAPTUREPARMS
/// This structure is used to get and set parameters that affect the capture rate, the number of
[StructLayout(LayoutKind.Sequential, Pack=1, CharSet=CharSet.Ansi)]
/// to perform step and streaming capture. The default value is FALSE. Applications that set
/// Maximum number of index entries in an AVI file. Values range from 1800 to 324,000. If set
/// set to AVSTREAMMASTER_AUDIO, the audio stream is considered the master stream and the video stream
/// duration is forced to match the audio duration. If this member is set to AVSTREAMMASTER_NONE, the
''' to perform step and streaming capture. The default value is FALSE. Applications that set this
''' Maximum number of index entries in an AVI file. Values range from 1800 to 324,000. If set to 0,
''' member is set to AVSTREAMMASTER_AUDIO, the audio stream is considered the master stream
''' set to AVSTREAMMASTER_NONE, the durations of audio and video streams can differ. 29: CATEGORYINFO
[StructLayout(LayoutKind.Sequential, Pack=4, CharSet=CharSet.Unicode)]
/// The size of the structure, in bytes. Must be set to sizeof(CHANGEFILTERSTRUCT)
Reset = 0, Allow = 1, DisAllow = 2 32: CHARFORMAT2 [StructLayout(LayoutKind.Sequential, Pack=4, CharSet=CharSet.Auto)]
public int yOffset;
public byte bCharSet; <StructLayout(LayoutKind.Sequential, Pack := 4, CharSet := CharSet.Auto)> _
Public yOffset As Integer
Public bCharSet As Byte 33: 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
public uint[] aoffset;
public string lpVerb; // either a string or MAKEINTRESOURCE(idOffset) 35: COLORREF
public void SetColor(System.Drawing.Color color)
[FieldOffset(0)]
[FieldOffset(1)]
[FieldOffset(2)]
[FieldOffset(0)]
[StructLayout ( LayoutKind.Sequential, CharSet = CharSet.Auto, Pack = 4 )] 37: COMMCONFIG
const UInt32 PCF_DTRDSR = 0x0001; // DTR (data-terminal-ready)/DSR (data-set-ready) supported
const UInt32 PCF_SETXCHAR = 0x0020; // Settable XON/XOFF supported 38: COMMPROP
int dwSettableParams;
int dwSettableBaud;
short wSettableData;
short wSettableStopParity;
Dim dwSettableParams As Integer
Dim dwSettableBaud As Integer
Dim wSettableData As Short
Dim wSettableStopParity As Short 39: COMMTIMEOUTS If an application sets ReadIntervalTimeout and ReadTotalTimeoutMultiplier to MAXDWORD and sets ReadTotalTimeoutConstant to a value greater than zero and less than MAXDWORD, one of the following occurs when the ReadFile function is called: 40: Constants
public const int CERT_STORE_SET_LOCALIZED_NAME_FLAG = 0x00000002;
Public Const CERT_STORE_SET_LOCALIZED_NAME_FLAG As Integer = &H2 41: COPYDATASTRUCT
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
public MessageType Type { get; set; } // MessageType.FV_RUBBERBAND_GEORECT_MSG (3)
public int MessageId { get; set; }
public double NW_Latitude { get; set; }
public double NW_Longitude { get; set; }
public double SE_Latitude { get; set; }
public double SE_Longitude { get; set; }
NativeWindow.SetForegroundWindow(this.Handle);
[DllImport("advapi32", SetLastError = true, CharSet = CharSet.Unicode)] <DllImport("advapi32", SetLastError:=True, CharSet:=CharSet.Unicode)>
/// This value can be used to create a process that uses a different set of credentials 43: CREATESTRUCT
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> _
public uint dwDebugInfoFileOffset; 45: CREDUI_INFO
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)]
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> Structure CRYPTPROTECT_PROMPTSTRUCT 47: CRYPT_BIT_BLOB
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> _ 49: CRYPT_OBJID_BLOB
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] 1. cbSize set to 20 bytes works well for me 52: DATADIR
DATADIR_SET = 2 53: DATA_BLOB
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)]
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Unicode)> Structure DATA_BLOB 54: DCB The DCB structure defines the control setting for a serial communications device.
set { Flags[fBinary] = value; }
set { Flags[fParity] = value; }
set { Flags[fOutxCtsFlow] = value; }
set { Flags[fOutxDsrFlow] = value; }
set { Flags[fDtrControl] = (int)value; }
set { Flags[fDsrSensitivity] = value; }
set { Flags[fTXContinueOnXoff] = value; }
set { Flags[fOutX] = value; }
set { Flags[fInX] = value; }
set { Flags[fErrorChar] = value; }
set { Flags[fNull] = value; }
set { Flags[fRtsControl] = (int)value; }
set { Flags[fAbortOnError] = value; } 55: DESKBANDINFO
[StructLayout (LayoutKind.Sequential, CharSet=CharSet.Unicode)]
/// Set of flags that determine which members of this structure are being requested.
/// A value that receives a set of flags that define the mode of operation for the band object. 56: DEVMODE
[StructLayout(LayoutKind.Explicit, CharSet = CharSet.Ansi)]
[System.Runtime.InteropServices.FieldOffset(0)]
[System.Runtime.InteropServices.FieldOffset(32)]
[System.Runtime.InteropServices.FieldOffset(34)]
[System.Runtime.InteropServices.FieldOffset(36)]
[System.Runtime.InteropServices.FieldOffset(38)]
[System.Runtime.InteropServices.FieldOffset(40)]
[System.Runtime.InteropServices.FieldOffset(44)]
[System.Runtime.InteropServices.FieldOffset(46)]
[System.Runtime.InteropServices.FieldOffset(48)]
[System.Runtime.InteropServices.FieldOffset(50)]
[System.Runtime.InteropServices.FieldOffset(52)]
[System.Runtime.InteropServices.FieldOffset(54)]
[System.Runtime.InteropServices.FieldOffset(56)]
[System.Runtime.InteropServices.FieldOffset(58)]
[System.Runtime.InteropServices.FieldOffset(44)]
[System.Runtime.InteropServices.FieldOffset(52)]
[System.Runtime.InteropServices.FieldOffset(56)]
[System.Runtime.InteropServices.FieldOffset(60)]
[System.Runtime.InteropServices.FieldOffset(62)]
[System.Runtime.InteropServices.FieldOffset(64)]
[System.Runtime.InteropServices.FieldOffset(66)]
[System.Runtime.InteropServices.FieldOffset(68)]
[System.Runtime.InteropServices.FieldOffset(70)]
[System.Runtime.InteropServices.FieldOffset(102)]
[System.Runtime.InteropServices.FieldOffset(104)]
[System.Runtime.InteropServices.FieldOffset(108)]
[System.Runtime.InteropServices.FieldOffset(112)]
[System.Runtime.InteropServices.FieldOffset(116)]
[System.Runtime.InteropServices.FieldOffset(116)]
[System.Runtime.InteropServices.FieldOffset(120)] Since the DEVMODE members beyond dmDisplayFrequency do not have to be declared, the structure can vary in size. You should set dmSize to effective size of your implemetation before calling API functions: This code (taken from .NET source code) is working with System.Drawing.Printing.PrinterSettings.Gethdevmode, where default structure doesn't work for me.
[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Auto)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> _
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
<StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Auto)> _ 59: DFS_INFO_1
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)] 60: DFS_INFO_2
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)] Cut off search results after 60. Please refine your search. |