Handle for the event

This is a discussion on Handle for the event within the C++ Programming forums, part of the General Programming Boards category; I am using DirectX 9 and trying to synchronize events by using Code: HRESULT WaitForVerticalBlank( DWORD dwFlags, HANDLE hEvent ); ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    20

    Handle for the event

    I am using DirectX 9 and trying to synchronize events by using
    Code:
    HRESULT WaitForVerticalBlank(
      DWORD dwFlags,
      HANDLE hEvent
      );
    How can I create a Handle for the event that should be triggered when the vertical blank begins? Would this be a function with a HANDLE return value?

    Sincerely,
    Matt

  2. #2
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    This made me laugh:
    Quote Originally Posted by MSDN
    Handle of the event to be triggered when the vertical blank begins. This parameter is not currently used.
    You don't need to do anything to do anything extra to synchronize with the monitor other than call that function.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 04:02 PM
  2. Direct3D problem
    By cboard_member in forum Game Programming
    Replies: 10
    Last Post: 04-09-2006, 03:36 AM
  3. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  4. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21