GetLastError 与 SetLastError#include <windows.h>#include <stdio.h>#define ERROR_NOT_SUPPORTED 50Lint func(int m){ if(m == 0 ) //SetLastError(0xe0000001); SetLastError(ERROR_NOT_SUPPORTED); else return true; return false;}void main (){ if(!func(0)) ... Read More
posted @ 2012-12-11 10:59 upendi Views(7180) Comments(0) Diggs(0) Edit