Desktop Functions: Smart Device Functions:
|
Search Results for "time" in [All]winmm
Declare Function midiStreamPosition Lib "winmm.dll" (ByVal hms As IntPtr, ByVal pmmt As MMTIME, ByVal cbmmt As UInteger) As Integer
Structure MMTIME
using System.Runtime.InteropServices;
[DllImport("winmm.dll", EntryPoint="timeBeginPeriod")]
Declare Function timeBeginPeriod Lib "winmm.dll" (ByVal uPeriod As Integer) As Integer Also see TimeGetTime (MM_GetTime) and TimeEndPeriod (MM_EndPeriod)
MM_BeginPeriod(1); // set timer resolution to 1ms => freq=1000Hz
// tickcount has resolution of 16.5ms, mmtime has 1ms
oWriter.WriteLine("{0}: TickCount={1}, MMTime={2}", nLoop, Environment.TickCount, MM_GetTime());
[DllImport("winmm.dll", EntryPoint="timeEndPeriod")]
Declare Function timeEndPeriod Lib "winmm.dll" (ByVal uPeriod As Integer) As Integer Also see timeBeginPeriod and timeEndPeriod See timeBeginPeriod for a sample
static extern UInt32 timeGetDevCaps( ref TimeCaps timeCaps,
UInt32 sizeTimeCaps ); Declare Function timeGetDevCaps Lib "winmm.dll" (ByRef lpTimeCaps As TimeCaps, ByVal uSize As UInt32) As UInt32 http://www.pinvoke.net/default.aspx/Structures.TimeCaps Returns TIMERR_NOERROR if successful or TIMERR_STRUCT if it fails to return the timer device capabilities. TIMERR_NOERROR is defined as UInt32 0 value.
static extern UInt32 timeGetSystemTime( ref MmTime mmTime, UInt32 sizeMmTime );
Declare Function timeGetSystemTime Lib "winmm.dll" (TODO) As TODO 7: timeGetTime
[DllImport("winmm.dll", EntryPoint="timeGetTime")]
public static extern uint MM_GetTime();
<DllImport("winmm.dll", EntryPoint := "timeGetTime")> _
Public Shared Function MM_GetTime() As UInteger Unlike Environment.TickCount, you can directly set the resolution of this timer with the TimeBeginPeriod function. See TimeBeginPeriod (imported as MM_BeginPeriod) and TimeEndPeriod (imported as MM_EndPeriod) See TimeBeginPeriod for a sample
static extern UInt32 timeKillEvent( UInt32 timerEventId );
Declare Function timeKillEvent Lib "winmm.dll" (TODO) As TODO 9: timeSetEvent
static extern UInt32 timeSetEvent( UInt32 msDelay, UInt32 msResolution,
TimerEventHandler handler, ref UInt32 userCtx, UInt32 eventType );
Declare Function timeSetEvent Lib "winmm.dll" (TODO) As TODO System.Threading.Timer
public class MMTimer : IDisposable
static extern uint timeSetEvent(uint uDelay, uint uResolution, TimerCallback lpTimeProc, UIntPtr dwUser, uint fuEvent);
static extern uint timeKillEvent(uint uTimerID);
static extern uint timeGetTime();
static extern uint timeBeginPeriod(uint uPeriod);
static extern uint timeEndPeriod(uint uPeriod);
//Timer type definitions
TIME_ONESHOT = 0, //Event occurs once, after uDelay milliseconds.
TIME_PERIODIC = 1,
TIME_CALLBACK_FUNCTION = 0x0000, /* callback is function */
//TIME_CALLBACK_EVENT_SET = 0x0010, /* callback is event - use SetEvent */
//TIME_CALLBACK_EVENT_PULSE = 0x0020 /* callback is event - use PulseEvent */
delegate void TimerCallback(uint uTimerID, uint uMsg, UIntPtr dwUser, UIntPtr dw1, UIntPtr dw2);
~MMTimer()
/// The current timer instance ID
TimerCallback thisCB;
/// The timer elapsed event
public event EventHandler Timer;
protected virtual void OnTimer(EventArgs e)
if (Timer != null)
Timer(this, e);
public MMTimer()
/// Stop the current timer instance (if any)
timeKillEvent(id);
Debug.WriteLine("MMTimer " + id.ToString() + " stopped");
/// Start a timer instance
/// <param name="ms">Timer interval in milliseconds</param>
//Kill any existing timer
//Set the timer type flags
fuEvent f = fuEvent.TIME_CALLBACK_FUNCTION | (repeat ? fuEvent.TIME_PERIODIC : fuEvent.TIME_ONESHOT);
id = timeSetEvent(ms, 0, thisCB, UIntPtr.Zero, (uint)f);
throw new Exception("timeSetEvent error");
Debug.WriteLine("MMTimer " + id.ToString() + " started");
void CBFunc(uint uTimerID, uint uMsg, UIntPtr dwUser, UIntPtr dw1, UIntPtr dw2)
//Callback from the MMTimer API that fires the Timer event. Note we are in a different thread here
OnTimer(new EventArgs());
<Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential, CharSet:=Runtime.InteropServices.CharSet.Auto)> _
<System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst:=32)> _
[System.Runtime.InteropServices.StructLayout(Runtime.InteropServices.LayoutKind.Sequential, CharSet = System.Runtime.InteropServices.CharSet.Auto)]
[MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst = 32)]
waveOutGetDevCaps(i, wc, System.Runtime.InteropServices.Marshal.SizeOf(wc))
using System.Runtime.InteropServices; printui12: lorem37 Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring. winscard
/// <param name="dwTimeout">The maximum amount of time, in milliseconds, to wait for an action. A value of zero causes the function to return immediately. A value of INFINITE causes this function never to time out.</param>
static extern SCardFunctionReturnCodes SCardGetStatusChange(int hContext, int dwTimeout, [In, Out] SCARD_READERSTATE[] rgReaderStates, int cReaders);
SCARD_E_TIMEOUT = 0x8010000A, 14: SCardStatus
15: SCardTransmit
request.cbPciLength = System.Runtime.InteropServices.Marshal.SizeOf(typeof(UnsafeNativeMethods.SCARD_IO_REQUEST)); 16: WinSCard
internal static extern uint SCardGetStatusChange(IntPtr hContext, UInt32 dwTimeout, [In, Out] SCARD_READERSTATE[] rgReaderStates, UInt32 cReaders); query17: lorem37 Bring to the table win-win survival strategies to ensure proactive domination. At the end of the day, going forward, a new normal that has evolved from generation X is on the runway heading towards a streamlined cloud solution. User generated content in real-time will have multiple touchpoints for offshoring. ipaqutilNo tips or tricks required, should work first time! opengl32The Tao Framework (open source and free: get it at http://www.taoframework.com/ ) wraps all the OpenGL functions (as well as other multimedia libraries) for your VB and C# programming pleasure. irprops
Public timeoutMultiplier As Byte
Public lastSeen As SystemTime
Public lastUsed As SystemTime
Me.lastSeen = New SystemTime
Me.lastUsed = New SystemTime
Private Structure SystemTime uxthemeThe 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 Enums22: ClassStyles
/// This style increases the time required to display the window, because the system must first allocate memory to store the bitmap.
''' This style increases the time required to display the window, because the system must first allocate memory to store the bitmap. 23: COINIT
using System.Runtime.InteropServices;
using System.Runtime.InteropServices; 25: FileFuncFlags Note, this does not implement [System.Flags] as the values collide, and only one value can be used at a time.
GPS_TEMPORARY = 0x00000004, // A read/write store that only holds properties for the lifetime of the IShellItem object 27: HRESULT
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential,Pack=4)]
return System.Runtime.InteropServices.Marshal.GetExceptionForHR(hr);
///There was an attempt to call CoInitialize a second time while single threaded
[Description("There was an attempt to call CoInitialize a second time while single threaded")]
public const int CO_E_SERVER_START_TIMEOUT = unchecked((int)0x8000401E);
///The common language runtime is not available
[Description("The common language runtime is not available")]
///The server started, but did not finish initializing in a timely fashion.
[Description("The server started, but did not finish initializing in a timely fashion.")]
public const int CO_E_SERVER_INIT_TIMEOUT = unchecked((int)0x8000402A);
public const int RPC_S_WAITONTIMER = unchecked((int)0x80010116);
///This operation returned because the timeout period expired.
[Description("This operation returned because the timeout period expired.")]
public const int RPC_E_TIMEOUT = unchecked((int)0x8001011F);
///A time-out was specified, but time-outs are not supported.
[Description("A time-out was specified, but time-outs are not supported.")]
public const int XACT_E_NOTIMEOUT = unchecked((int)0x8004D017);
///Resource manager reenlistment to determine transaction status timed out.
[Description("Resource manager reenlistment to determine transaction status timed out.")]
public const int XACT_E_REENLISTTIMEOUT = unchecked((int)0x8004D01E);
///The component is configured to use synchronization and a thread has timed out waiting to enter the context.
[Description("The component is configured to use synchronization and a thread has timed out waiting to enter the context.")]
public const int CONTEXT_E_SYNCH_TIMEOUT = unchecked((int)0x8004E006);
///COM+ activation failed because the activation could not be completed in the specified amount of time.
[Description("COM+ activation failed because the activation could not be completed in the specified amount of time.")]
public const int CO_E_ACTIVATIONFAILED_TIMEOUT = unchecked((int)0x8004E024);
///The task is ready to run at its next scheduled time.
[Description("The task is ready to run at its next scheduled time.")]
///The task will not run at the scheduled times because it has been disabled.
[Description("The task will not run at the scheduled times because it has been disabled.")]
///Event triggers don't have set run times.
[Description("Event triggers don't have set run times.")]
///The task has been configured with an unsupported combination of account settings and run time options.
[Description("The task has been configured with an unsupported combination of account settings and run time options.")]
public const int SEC_E_TIME_SKEW = unchecked((int)0x80090324);
// See asn1code.h for a definition of the OSS runtime errors. The OSS
public const int OSS_BAD_TIME = unchecked((int)0x8009300C);
///The timestamp signature and/or certificate could not be verified or is malformed.
[Description("The timestamp signature and/or certificate could not be verified or is malformed.")]
public const int TRUST_E_TIME_STAMP = unchecked((int)0x80096005);
///A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
[Description("A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.")]
///The machine selected for remote communication is not available at this time.
[Description("The machine selected for remote communication is not available at this time.")]
///An internal consistency timer has expired.
[Description("An internal consistency timer has expired.")]
///The user-specified timeout value has expired.
[Description("The user-specified timeout value has expired.")]
public const int SCARD_E_TIMEOUT = unchecked((int)0x8010000A);
<System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack := 4)> _
Return System.Runtime.InteropServices.Marshal.GetExceptionForHR(hr)
'''There was an attempt to call CoInitialize a second time while single threaded
<Description("There was an attempt to call CoInitialize a second time while single threaded")> _
Public Const CO_E_SERVER_START_TIMEOUT As Integer = CInt(&H8000401eUI)
'''The common language runtime is not available
<Description("The common language runtime is not available")> _
'''The server started, but did not finish initializing in a timely fashion.
<Description("The server started, but did not finish initializing in a timely fashion.")> _
Public Const CO_E_SERVER_INIT_TIMEOUT As Integer = CInt(&H8000402aUI)
Public Const RPC_S_WAITONTIMER As Integer = CInt(&H80010116UI)
'''This operation returned because the timeout period expired.
<Description("This operation returned because the timeout period expired.")> _
Public Const RPC_E_TIMEOUT As Integer = CInt(&H8001011fUI)
'''A time-out was specified, but time-outs are not supported.
<Description("A time-out was specified, but time-outs are not supported.")> _
Public Const XACT_E_NOTIMEOUT As Integer = CInt(&H8004d017UI)
'''Resource manager reenlistment to determine transaction status timed out.
<Description("Resource manager reenlistment to determine transaction status timed out.")> _
Public Const XACT_E_REENLISTTIMEOUT As Integer = CInt(&H8004d01eUI)
'''The component is configured to use synchronization and a thread has timed out waiting to enter the context.
<Description("The component is configured to use synchronization and a thread has timed out waiting to enter the context.")> _
Public Const CONTEXT_E_SYNCH_TIMEOUT As Integer = CInt(&H8004e006UI)
'''COM+ activation failed because the activation could not be completed in the specified amount of time.
<Description("COM+ activation failed because the activation could not be completed in the specified amount of time.")> _
Public Const CO_E_ACTIVATIONFAILED_TIMEOUT As Integer = CInt(&H8004e024UI)
'''The task is ready to run at its next scheduled time.
<Description("The task is ready to run at its next scheduled time.")> _
'''The task will not run at the scheduled times because it has been disabled.
<Description("The task will not run at the scheduled times because it has been disabled.")> _
'''Event triggers don't have set run times.
<Description("Event triggers don't have set run times.")> _
'''The task has been configured with an unsupported combination of account settings and run time options.
<Description("The task has been configured with an unsupported combination of account settings and run time options.")> _
Public Const SEC_E_TIME_SKEW As Integer = CInt(&H80090324UI)
' See asn1code.h for a definition of the OSS runtime errors. The OSS
Public Const OSS_BAD_TIME As Integer = CInt(&H8009300cUI)
'''The timestamp signature and/or certificate could not be verified or is malformed.
<Description("The timestamp signature and/or certificate could not be verified or is malformed.")> _
Public Const TRUST_E_TIME_STAMP As Integer = CInt(&H80096005UI)
'''A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
<Description("A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.")> _
'''The machine selected for remote communication is not available at this time.
<Description("The machine selected for remote communication is not available at this time.")> _
'''An internal consistency timer has expired.
<Description("An internal consistency timer has expired.")> _
'''The user-specified timeout value has expired.
<Description("The user-specified timeout value has expired.")> _
Public Const SCARD_E_TIMEOUT As Integer = CInt(&H8010000aUI) 28: LCTYPE
LOCALE_STIME = 0x0000001E,
LOCALE_STIMEFORMAT = 0x00001003,
LOCALE_ITIME = 0x00000023,
LOCALE_ITIMEMARKPOSN = 0x00001005, 29: ListViewMessages
SETHOVERTIME = (FIRST + 71),
GETHOVERTIME = (FIRST + 72), 30: MessageBoxResult
Timeout = 32000
Timeout = 32000
Timeout As Long = 32000 31: MIB_TCP_STATE
MIB_TCP_STATE_TIME_WAIT = 11,
MIB_TCP_STATE_TIME_WAIT = 11 32: NtStatus
Timeout = 0x00000102,
TimerNotCanceled = 0xc000000c,
IoTimeout = 0xc00000b5,
RollbackTimerExpired = 0xc019003c, 33: OpenFile
// specified computer to open the file any number of times.
// Verifies that the date and time of a file are the same as when it was opened previously.
PM_QS_POSTMESSAGE = (QueueStatusFlags.QS_POSTMESSAGE | QueueStatusFlags.QS_HOTKEY | QueueStatusFlags.QS_TIMER) << 16,
PM_QS_POSTMESSAGE = (QueueStatusFlags.QS_POSTMESSAGE Or QueueStatusFlags.QS_HOTKEY Or QueueStatusFlags.QS_TIMER) << 16
QS_TIMER = &H10
QS_ALLEVENTS = (QS_INPUT Or QS_POSTMESSAGE Or QS_TIMER Or QS_PAINT Or QS_HOTKEY)
QS_ALLINPUT = (QS_SENDMESSAGE Or QS_PAINT Or QS_TIMER Or QS_POSTMESSAGE Or QS_MOUSEBUTTON Or QS_MOUSEMOVE Or QS_HOTKEY Or QS_KEY) 35: PROPID
/// Edit Date Time, DateTime
PID_EDITTIME = 10,
/// Last Printed, DateTime
/// Create date time, DateTime
/// Last save date time, DateTime
QS_TIMER = 0x0010,
QS_ALLEVENTS = QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY,
QS_ALLINPUT = QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY | QS_SENDMESSAGE
QS_TIMER = &H10
QS_ALLEVENTS = (QS_INPUT Or QS_POSTMESSAGE Or QS_TIMER Or QS_PAINT Or QS_HOTKEY)
QS_ALLINPUT = (QS_SENDMESSAGE Or QS_PAINT Or QS_TIMER Or QS_POSTMESSAGE Or QS_MOUSEBUTTON Or QS_MOUSEMOVE Or QS_HOTKEY Or QS_KEY) 37: RasError
/// <summary>638. The request has timed out. </summary>
ERROR_REQUEST_TIMEOUT,
/// <summary>646. The account is not permitted to log on at this time of day. </summary>
/// <summary>718. The connection timed out waiting for a valid response from the remote computer. </summary>
ERROR_PPP_TIMEOUT,
/// <summary>726. The IPX protocol cannot be used for dialing out on more than one modem (or other connecting device) at a time. </summary>
/// <summary>748. The SMM timed out.</summary>
ERROR_SMM_TIMEOUT,
/// <summary>784. You cannot dial using this connection at login time because it is configured to use a user name different than the one on the smart card. If you want to use this connection at login time, you must configure it to use the user name on the smart card. </summary>
/// <summary>785. You cannot dial using this connection at login time because it is not configured to use a smart card. If you want to use it at login time, you must edit the properties of this connection so that it uses a smart card. </summary>
/// <summary>792. The L2TP connection attempt failed because security negotiation timed out. </summary>
ERROR_OAKLEY_TIMED_OUT,
/// <summary>805. You cannot dial using this connection at login time because it is configured to use the currently-logged-in user's credentials. </summary>
ERROR_VPN_TIMEOUT,
ERROR_BROADBAND_TIMEOUT,
ERROR_RASQEC_TIMEOUT,
/// <summary>828. The connection was terminated because of idle timeout. </summary>
ERROR_IDLE_TIMEOUT,
/// The affected windows receive WM_PAINT messages at the ordinary time.
''' The affected windows receive WM_PAINT messages at the ordinary time.
enum SendMessageTimeoutFlags : uint
SMTO_NOTIMEOUTIFNOTHUNG = 0x8,
Public Enum SendMessageTimeoutFlags
SMTO_NOTIMEOUTIFNOTHUNG = 8
/// for the first time.
''' for the first time. 41: SHOWWINDOW_FLAGS
/// Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
/// Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time. 42: SLR_FLAGS
/// the high-order word of fFlags can be set to a time-out value that specifies the
/// maximum amount of time to be spent resolving the link. The function returns if the
/// link cannot be resolved within the time-out duration. If the high-order word is set
/// to zero, the time-out duration will be set to the default value of 3,000 milliseconds
/// (3 seconds). To specify a value, set the high word of fFlags to the desired time-out
''' the high-order word of fFlags can be set to a time-out value that specifies the
''' maximum amount of time to be spent resolving the link. The function returns if the
''' link cannot be resolved within the time-out duration. If the high-order word is set
''' to zero, the time-out duration will be set to the default value of 3,000 milliseconds
''' (3 seconds). To specify a value, set the high word of fFlags to the desired time-out 43: SystemMetric
/// to consider the two clicks a double-click. The two clicks must also occur within a specified time.
/// the two clicks a double-click. The two clicks must also occur within a specified time. To set the height of the double-click
''' Height of the rectangle around the location of a first click in a double-click sequence in pixels. The second click must occur within the rectangle defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system to consider the two clicks a double-click. (The two clicks must also occur within a specified time.) 44: ThreadPriority
THREAD_PRIORITY_TIME_CRITICAL = 15
THREAD_PRIORITY_TIME_CRITICAL = 15 45: TimerCallback
46: TimerType
47: TimeType
48: VARENUM
VT_FILETIME = 64, You should use System.Runtime.InteropServices.VarEnum instead. 49: WindowsMessages
/// A message that is sent whenever there is a change in the system time.
TIMECHANGE = 0x001E,
/// The WM_COMPACTING message is sent to all top-level windows when the system detects more than 12.5 percent of system time over a 30- to 60-second interval is being spent compacting memory. This indicates that system memory is low.
/// The WM_TIMER message is posted to the installing thread's message queue when a timer expires. The message is posted by the GetMessage or PeekMessage function.
TIMER = 0x0113,
/// The WM_ENTERSIZEMOVE message is sent one time to a window after it enters the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border, or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns.
/// The WM_EXITSIZEMOVE message is sent one time to a window, after it has exited the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border, or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns.
/// The WM_MOUSEHOVER message is posted to a window when the cursor hovers over the client area of the window for the period of time specified in a prior call to TrackMouseEvent.
/// The WM_NCMOUSEHOVER message is posted to a window when the cursor hovers over the nonclient area of the window for the period of time specified in a prior call to TrackMouseEvent.
/// WM_SYSTIMER is a well-known yet still undocumented message. Windows uses WM_SYSTIMER for internal actions like scrolling.
SYSTIMER = 0x118,
'''The WM_COMPACTING message is sent to all top-level windows when the system detects more than 12.5 percent of system time over a 30- to 60-second interval is being spent compacting memory. This indicates that system memory is low.
'''The WM_ENTERSIZEMOVE message is sent one time to a window after it enters the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns.
'''The WM_EXITSIZEMOVE message is sent one time to a window after it has exited the moving or sizing modal loop. The window enters the moving or sizing modal loop when the user clicks the window's title bar or sizing border or when the window passes the WM_SYSCOMMAND message to the DefWindowProc function and the wParam parameter of the message specifies the SC_MOVE or SC_SIZE value. The operation is complete when DefWindowProc returns.
'''The WM_MOUSEHOVER message is posted to a window when the cursor hovers over the client area of the window for the period of time specified in a prior call to TrackMouseEvent.
'''A message that is sent whenever there is a change in the system time.
WM_TIMECHANGE = &H1E
'''The WM_TIMER message is posted to the installing thread's message queue when a timer expires. The message is posted by the GetMessage or PeekMessage function.
WM_TIMER = &H113
''' The function does not return until each window has timed out.
''' Therefore, the total wait time can be up to the value of uTimeout multiplied by the number of top-level windows.
''' use the <see cref="NativeMethods.SendMessageTimeout"/> function with the <paramref name="hwnd"/> parameter set to
''' Sent one time to a window, after it enters the moving or sizing modal loop.
''' Sent one time to a window, after it has exited the moving or sizing modal loop.
''' period of time specified in a prior call to <c>TrackMouseEvent</c>.
''' A message that is sent whenever there is a change in the system time.
WmTimeChange = &H1E
using System.Runtime.InteropServices;
wlan_hosted_network_reason_peer_timeout, 51: WTSINFO
WTSIdleTime,
WTSLogonTime,
WTSIdleTime
WTSLogonTime 52: WTSInfoClass
WTSIdleTime,
WTSLogonTime,
WTSIdleTime
WTSLogonTime aygshell
CancelTimeout = 0x80042002, 54: ExitWindowsEx 55: SHIdleTimerReset
static extern void SHIdleTimerReset();
Declare Sub SHIdleTimerReset Lib "Aygshell.dll" Alias "SHIdleTimerReset" () You can call both SystemIdleTimerReset and SHIdleTimerReset to cover a wider range of devices(?) 56: SHSipPreference A request to hide the input panel. When this value is used, a timer is set and the input panel is lowered only after the timer message is received. This approach prevents the input panel from flashing when one control requests SIP_DOWN and another control immediately requests SIP_UP. forces the input panel to be hidden immediately, without setting a timer. If you want the input panel hidden and are sure there will be no SIP_UP requests — for example, because your application is a full-screen game — use this value. tells the system to ignore any pending down requests. That is, if SHSipPreference is called with the SIP_DOWN flag, the system sets a timer and after the timer fires, the input panel is lowered. However, if you call SIP_UNCHANGED before the timer fires, then the input panel will stay in its current location. dmcl4057: dmAPIGet
return System.Runtime.Interop.Marshal.PtrToStringAnsi( res ); mapi3258: MAPIReadMail
<Runtime.InteropServices.DllImport("MAPI32.DLL", CharSet:=System.Runtime.InteropServices.CharSet.Ansi)> _ rpcrt459: UuidFromStringA pin_ptr<unsigned char> UuidSringPtr = static_cast<unsigned char *>(System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi("C3ECE8CB-E9F8-47f9-AC61-8EA8572403F2").ToPointer()); wtsapi32
Throw New Exception(ex.Message & vbCrLf & System.Runtime.InteropServices.Marshal.GetLastWin32Error) Cut off search results after 60. Please refine your search. |