NO

Author Topic: QueueUserAPC definition  (Read 2883 times)

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2101
QueueUserAPC definition
« on: August 25, 2005, 12:05:22 PM »
Pelle, anybody,
I'm not able to get the prototype of the QueueUserAPC function (defined in winbase.h).
Is there something to check in the project options that I'm missing?
More why to use winsock2.h I have to include it before windows.h?
Thanks
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

JohnF

  • Guest
QueueUserAPC definition
« Reply #1 on: August 25, 2005, 12:27:02 PM »
You need to define _WIN32_WINNT first

#define _WIN32_WINNT 0x400
#include <windows.h>
#include <winbase.h>

John

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2101
QueueUserAPC definition
« Reply #2 on: August 25, 2005, 02:25:03 PM »
Thank-you John.
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide