[DllImport("kernel32.dll", SetLastError=true)] static extern 
int CreateEventA (ref int lpEventAttributes, int bManualReset, int bInitialState, string lpName);[DllImport("kernel32.dll", SetLastError=true)] static extern 
int SetEvent ( int hEvent);[DllImport("kernel32.dll", SetLastError=true)] static extern 
int CloseHandle ( int hObject) ;[DllImport("kernel32.dll")] static extern 
ulong GetLastError() ;
int su=0;
int h1 = CreateEventA (ref su, 1, 0, "ghjghjghjgh");
ulong err = GetLastError();
if (h1 != 0)
{
SetEvent (h1);
CloseHandle (h1);
}
CreateEventA总是返回0,为什么?