printf( "thread handle:%x thread-id: %dx\n", thread->handle, GetThreadId( thread->handle ) );