Desktop Functions: Smart Device Functions:
|
Search Results for "time" in [All]Structures
short t1_timeouts;
short ti_timeouts;
Dim t1_timeouts As Short
Dim ti_timeouts As Short
WORD t1_timeouts;
WORD ti_timeouts;
using System.Runtime.InteropServices;
Imports System.Runtime.InteropServices
internal byte cTimeoutMultiplier;
public FILETIME CreationTime;
public FILETIME LastAccessTime;
public FILETIME LastWriteTime;
<FieldOffset(4)> Public ftCreationTime As Int64 ' FILETIME
<FieldOffset(12)> Public ftLastAccessTime As Int64 ' FILETIME
<FieldOffset(20)> Public ftLastWriteTime As Int64 ' FILETIME
val mutable CreationTime:FILETIME
val mutable LastAccessTime:FILETIME
val mutable LastWriteTime:FILETIME 6: CAPTUREPARMS
/// Time limit enabled flag. If this member is TRUE, streaming capture stops after the number
/// of seconds in wTimeLimit has elapsed. The default value is FALSE.
/// Time limit for capture, in seconds. This parameter is used only if fLimitEnabled is TRUE.
public System.UInt32 wTimeLimit;
/// a video source is enabled. If it is FALSE, real-time capture using an MCI device is enabled.
public System.UInt32 dwMCIStartTime;
public System.UInt32 dwMCIStopTime;
/// Number of times a frame is sampled when creating a frame based on the average sample. A typical
''' Time limit enabled flag. If this member is TRUE, streaming capture stops after the
''' number of seconds in wTimeLimit has elapsed. The default value is FALSE.
''' Time limit for capture, in seconds. This parameter is used only if fLimitEnabled is TRUE.
Public wTimeLimit As Integer
''' a video source is enabled. If it is FALSE, real-time capture using an MCI device is enabled.
Public dwMCIStartTime As Integer
Public dwMCIStopTime As Integer
''' Number of times a frame is sampled when creating a frame based on the average sample. A
Imports System.Runtime.InteropServices 8: CERT_INFO
public FILETIME NotBefore;
public FILETIME NotAfter;
public IntPtr pftTimeToUse;
public uint dwUrlRetrievalTimeout;
public bool fCheckFreshnessTime;
public uint dwFreshnessTime;
public IntPtr pftCurrentTime;
public bool fHasFreshnessTime;
public uint dwFreshnessTime; 11: COMMCONFIG
const UInt32 PCF_INTTIMEOUTS = 0x0080; // Interval time-outs supported
const UInt32 PCF_TOTALTIMEOUTS = 0x0040; // Total (elapsed) time-outs supported 12: COMMTIMEOUTS
struct COMMTIMEOUTS {
public UInt32 ReadIntervalTimeout;
public UInt32 ReadTotalTimeoutMultiplier;
public UInt32 ReadTotalTimeoutConstant;
public UInt32 WriteTotalTimeoutMultiplier;
public UInt32 WriteTotalTimeoutConstant;
Private Type COMMTIMEOUTS
ReadIntervalTimeout As Long
ReadTotalTimeoutMultiplier As Long
ReadTotalTimeoutConstant As Long
WriteTotalTimeoutMultiplier As Long
WriteTotalTimeoutConstant As Long
Public Structure COMMTIMEOUTS
Public ReadIntervalTimeout As Int32
Public ReadTotalTimeoutMultiplier As Int32
Public ReadTotalTimeoutConstant As Int32
Public WriteTotalTimeoutMultiplier As Int32
Public WriteTotalTimeoutConstant As Int32 ReadIntervalTimeout Maximum time allowed to elapse between the arrival of two bytes on the communications line, in milliseconds. During a ReadFile operation, the time period begins when the first byte is received. If the interval between the arrival of any two bytes exceeds this amount, the ReadFile operation is completed and any buffered data is returned. A value of zero indicates that interval time-outs are not used. A value of MAXDWORD, combined with zero values for both the ReadTotalTimeoutConstant and ReadTotalTimeoutMultiplier members, specifies that the read operation is to return immediately with the bytes that have already been received, even if no bytes have been received. ReadTotalTimeoutMultiplier Multiplier used to calculate the total time-out period for read operations, in milliseconds. For each read operation, this value is multiplied by the requested number of bytes to be read. ReadTotalTimeoutConstant Constant used to calculate the total time-out period for read operations, in milliseconds. For each read operation, this value is added to the product of the ReadTotalTimeoutMultiplier member and the requested number of bytes. A value of zero for both the ReadTotalTimeoutMultiplier and ReadTotalTimeoutConstant members indicates that total time-outs are not used for read operations. WriteTotalTimeoutMultiplier Multiplier used to calculate the total time-out period for write operations, in milliseconds. For each write operation, this value is multiplied by the number of bytes to be written. WriteTotalTimeoutConstant Constant used to calculate the total time-out period for write operations, in milliseconds. For each write operation, this value is added to the product of the WriteTotalTimeoutMultiplier member and the number of bytes to be written. A value of zero for both the WriteTotalTimeoutMultiplier and WriteTotalTimeoutConstant members indicates that total time-outs are not used for write operations. 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: ->If no bytes arrive within the time specified by ReadTotalTimeoutConstant, ReadFile times out.
/// returns after the profile has been loaded. Loading the profile can be time-consuming, 14: CWPSTRUCT
<System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)> _ 15: DCB
using System.Runtime.InteropServices; 16: DEVMODE
[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)]
using System.Runtime.InteropServices;
Imports System.Runtime.InteropServices 17: DFS_INFO_4
public int Timeout; // Timeout, in seconds, of this junction point 18: DHCP_DATE_TIME
public struct DATE_TIME
public uint dwLowDateTime;
public uint dwHighDateTime;
Structure DHCP_DATE_TIME
Dim dwLowDateTime As Integer
Dim dwHighDateTime As Integer 19: DISK_GEOMETRY
<System.Runtime.InteropServices.StructLayout(LayoutKind.Sequential)> _ 20: DNS_RPC_RECORD
public UInt32 dwTimeStamp; // REVERSED from MS documentation
public UInt32 dwTimeStamp { get { return header.dwTimeStamp;}}
public struct DynamicTimeZoneInformation
public SystemTime StandardDate;
public SystemTime DaylightDate;
public string TimeZoneKeyName;
public bool DynamicDaylightTimeDisabled;
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.LPWStr)] 23: EVENTMSG
public UInt32 time;
Public time As UInt32 24: FILEDESCRIPTOR
FD_CREATETIME = 0x00000008,
FD_ACCESSTIME = 0x00000010,
FD_WRITESTIME = 0x00000020,
public System.Runtime.InteropServices.ComTypes.FILETIME ftCreationTime;
public System.Runtime.InteropServices.ComTypes.FILETIME ftLastAccessTime;
public System.Runtime.InteropServices.ComTypes.FILETIME ftLastWriteTime;
FD_CREATETIME = &H8
FD_ACCESSTIME = &H10
FD_WRITESTIME = &H20
<Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, CharSet:=Runtime.InteropServices.CharSet.Auto)>
Public ftCreationTime As System.Runtime.InteropServices.ComTypes.FILETIME
Public ftLastAccessTime As System.Runtime.InteropServices.ComTypes.FILETIME
Public ftLastWriteTime As System.Runtime.InteropServices.ComTypes.FILETIME
<Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=260)> 25: FILETIME
public struct FILETIME {
public uint DateTimeLow;
public uint DateTimeHigh;
Public Structure FILETIME
Public dwLowDateTime As UInteger
Public dwHighDateTime As UInteger
Return CType(dwHighDateTime << 32, ULong) + dwLowDateTime [System.Runtime.InteropServices.FILETIME] (obsolete), or [System.Runtime.InteropServices.ComTypes.FILETIME] in the .NET Framework 2.0. There is no reason not to use [System.Runtime.InteropServices.ComTypes.FILETIME], but there still is a need for conversion to [DateTime]:
public static DateTime FiletimeToDateTime(FILETIME fileTime) {
long hFT2 = (((long) fileTime.dwHighDateTime) << 32) | ((uint) fileTime.dwLowDateTime);
return DateTime.FromFileTimeUtc(hFT2);
public static FILETIME DateTimeToFiletime(DateTime time) {
FILETIME ft;
long hFT1 = time.ToFileTimeUtc();
ft.dwLowDateTime = (int) (hFT1 & 0xFFFFFFFF);
ft.dwHighDateTime = (int) (hFT1 >> 32); Actually, this is NOT working. The only solution I've found so far is using the API Kernel32.dll function FileTimeToSystemTime, then transforming from that into a regular DateTime. * Note that System.Runtime.InteropServices.FILETIME is now obsolete. Changed to use System.Runtime.InteropServices.ComTypes.FILETIME instead.
Private Shared Function ConvertFileTimeToDateTime(input As FILETIME) As DateTime
Dim longTime As ULong = (CType(input.dwHighDateTime, ULong) << 32) Or input.dwLowDateTime
Return DateTime.FromFileTime(longTime)
struct FILETIME {
private long timestamp;
public DateTime Local {
get { return DateTime.FromFileTime(this.timestamp); }
set { this.timestamp = value.ToFileTime(); }
public DateTime Utc {
get { return DateTime.FromFileTimeUtc(this.timestamp); }
set { this.timestamp = value.ToFileTimeUtc(); }
public LargeInteger CreationTime;
public LargeInteger LastAccessTime;
public LargeInteger LastWriteTime;
public LargeInteger ChangeTime; 27: FORMATETC
// handle with the GMEM_SHARE flag. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
// The storage medium is a disk file identified by a path. If the STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
// ISequentialStream::Read to read the data. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
// If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
// If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
// to access the metafile's data. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
// The storage medium is an enhanced metafile. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
' handle with the GMEM_SHARE flag. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
' The storage medium is a disk file identified by a path. If the STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
' ISequentialStream::Read to read the data. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
' If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
' If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
' to access the metafile's data. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
' The storage medium is an enhanced metafile. If the System.Runtime.InteropServices.ComTypes.STGMEDIUMSystem.Runtime.InteropServices.ComTypes.STGMEDIUM.pUnkForRelease
public int DefaultRevocationFreshnessTime;
public int DefaultRevocationUrlRetrievalTimeout; 29: ICMP_ECHO_REPLY
public Int32 RoundTripTime;
public UInt32 TimeDateStamp;
Public TimeDateStamp As Integer
public UInt32 TimeDateStamp;
''' Indicates the time when the file was created. This value is the number
''' of seconds since January 1, 1970, Greenwich Mean Time (GMT). This value
''' file system date/time.
Public TimeDateStamp As UInt32
 ' Indicates the time when the file was created. This value is the number of seconds since
' January 1, 1970, Greenwich Mean Time (GMT). This value is a more accurate indicator of
 ' when the file was created than is the file system date/time.
TimeDateStamp As Long
IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER = 12,
public IMAGE_DATA_DIRECTORY CLRRuntimeHeader;
public IMAGE_DATA_DIRECTORY CLRRuntimeHeader;
''' runtime library code that calls the aforementioned functions. This field can
''' The ImageBase can be set at link time with the /BASE switch, or later with the
''' At one time, it was used to indicate that the newer Windows 95 or Windows NT 4.0
' or DllMain, rather, it points to runtime library code that calls the aforementioned functions.
' The ImageBase can be set at link time with the /BASE switch, or later with the REBASE utility.
' At one time, it was used to indicate that the newer Windows 95 or Windows NT 4.0 user interface was
' or DllMain, rather, it points to runtime library code that calls the aforementioned functions.
' The ImageBase can be set at link time with the /BASE switch, or later with the REBASE utility.
' At one time, it was used to indicate that the newer Windows 95 or Windows NT 4.0 user interface was
public IMAGE_DATA_DIRECTORY CLRRuntimeHeader;
IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER = 12,
ICC_DATE_CLASSES = 0x00000100, // month picker, date picker, time picker, updown
' month picker, date picker, time picker, updown
public byte TimeToLive; 36: JOB_INFO_1
public SYSTEMTIME Submitted; 37: KBDLLHOOKSTRUCT
public uint time;
Public time As UInt32
public time As UInt32
public long StartTime;
public long EndTime;
public long RenewTime; 39: KEYBDINPUT
internal int time;
Public time As Integer 40: LASTINPUTINFO
public UInt32 dwTime;
Public dwTime As Integer
dwTime : uint32 dwTime does wrap around. Watch out for that, and beware of casting to a signed. 41: LOGFONT 2) The FromLogFont method in VB .NET returned "Times New Roman" as the Font.name for many LogFont.lfFaceName that were not "Times New Roman." The .NET Framework class Font, has a method, Font::FromLogfont that takes an Object reference as it's method parameter. You must define a managed LOGFONT class using the same format as the C# signature above. When using the StructLayout attribute on the class definition, you must set the CharSet property to Auto (the default is Ansi, which will not work correctly). The only difficulty encountered is passing the string value (the designated Font Face Name) to the FromLogfont method; apparently, this must have the attribute: [MarshalAs(UnmanagedType::ByValTStr)] enum value for the method to work correctly. Then, when instantiating a new Font in your managed application, you must cast the LOGFONT class (with appropriate member values assigned) to a System::Object for the function to work without generating a runtime exception.
uint DozeTimeoutAc;
uint DozeTimeoutDc;
uint DozeS4TimeoutAc;
uint DozeS4TimeoutDc;
Private DozeTimeoutAc As UInteger
Private DozeTimeoutDc As UInteger
Private DozeS4TimeoutAc As UInteger
Private DozeS4TimeoutDc As UInteger 43: MAPI
public string lpszDateReceived = DateTime.Now.ToString("yyyy/MM/dd HH:mm"); 44: MEMORYSTATUS
/// <remarks>MEMORYSTATUSEX reflects the state of memory at the time of the call. It also
/// reflects the size of the paging file at that time. The operating system can enlarge 45: MENUINFO mi.cbSize = System.Runtime.InteropServicesÂ.Marshal.SizeOf(typeof(MENUINFÂO));
private const uint MIXERCONTROL_CT_CLASS_TIME = 0x60000000u;
private const uint MIXERCONTROL_CT_SC_TIME_MICROSECS = 0x00000000u;
private const uint MIXERCONTROL_CT_SC_TIME_MILLISECS = 0x01000000u;
MICROTIME =(MIXERCONTROL_CT_CLASS_TIME | MIXERCONTROL_CT_SC_TIME_MICROSECS | MIXERCONTROL_CT_UNITS_UNSIGNED),
MILLITIME =(MIXERCONTROL_CT_CLASS_TIME | MIXERCONTROL_CT_SC_TIME_MILLISECS | MIXERCONTROL_CT_UNITS_UNSIGNED), 47: MmTime 48: MOUSEINPUT
internal uint time;
Public time As Integer 49: MSLLHOOKSTRUCT
public int time;
Public time As Int32 50: NCB
UCHAR ncb_rto; /* rcv timeout/retry count */
UCHAR ncb_sto; /* send timeout/sys timeout */ 51: NOTIFYICONDATA
/// NOTE: This field is also used for the Timeout value. Specifies whether the Shell notify
using System.Runtime.InteropServices
public int uTimeoutOrVersion;
Dim uTimeout As Integer ' ignore the uVersion union 52: OpenFileName
''' The first time your application creates the dialog box,
''' The system uses the strings to initialize the user-defined file filter the next time
public byte LatencyTimer; 54: PRINTDLG
[System.Runtime.InteropServices.ComVisible(false)] 55: PRINTER_INFO_2
public uint StartTime;
public uint UntilTime;
Public StartTime As Integer
Public UntilTime As Integer 56: PRINTER_INFO_5
public uint DeviceNotSelectedTimeout;
public uint TransmissionRetryTimeout; 57: RAS_STATS
public int dwTimeoutErr;
Public dwTimeoutErr As Integer 58: RAWINPUTKEYBOARD
<System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)> _
public UInt64 Timeout;
<FieldOffset(16)> Public Timeout As Long 'DWORDLONG Timeout; 60: RECT Imports System.Runtime.InteropServices Cut off search results after 60. Please refine your search. |