Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #522 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Waitable timer API declarations are missing

Reported by: maxter Assigned to: kris
Priority: normal Milestone: 0.99 RC3
Component: Core Functionality Version: trunk
Keywords: Cc:

Description

CreateWaitableTimer? etc. are missing from Windows header files

Change History

06/21/07 14:40:16 changed by larsivi

  • owner changed from larsivi to sean.
  • component changed from Packages to Core Functionality.
  • milestone set to 0.99 RC3.

06/22/07 02:37:05 changed by maxter

extern (Windows)
{
    alias void function (LPVOID, DWORD, DWORD) PTIMERAPCROUTINE;

    HANDLE CreateWaitableTimerA(LPSECURITY_ATTRIBUTES lpTimerAttributes,
        BOOL bManualReset, LPCSTR lpTimerName);
    HANDLE CreateWaitableTimerW(LPSECURITY_ATTRIBUTES lpTimerAttributes,
        BOOL bManualReset, LPCWSTR lpTimerName);
    BOOL SetWaitableTimer(HANDLE hTimer, LARGE_INTEGER* pDueTime, LONG lPeriod,
        PTIMERAPCROUTINE pfnCompletionRoutine, LPVOID lpArgToCompletionRoutine, BOOL fResume);
    BOOL CancelWaitableTimer(HANDLE hTimer);
    HANDLE OpenWaitableTimerA(DWORD dwDesiredAccess, BOOL bInheritHandle, LPCSTR lpTimerName);
    HANDLE OpenWaitableTimerW(DWORD dwDesiredAccess, BOOL bInheritHandle, LPCWSTR lpTimerName);
}

07/02/07 22:46:38 changed by kris

  • owner changed from sean to kris.
  • status changed from new to assigned.

07/02/07 22:54:56 changed by kris

fixed in [2399]

Thanks!

07/02/07 22:55:14 changed by kris

  • status changed from assigned to closed.
  • resolution set to fixed.