Local Atom String Table
View Code
#include <windows.h> #include <stdio.h> int main() { CHAR szAtom[32] = "ApexDingdianweifeng"; ATOM a1 = FindAtom(szAtom); if(a1 == 0) { printf("now the local not add\n"); } else { printf("now the local added\n"); } ATOM aLable = AddAtom(szAtom); a1 = FindAtom(szAtom); if(a1 == 0) { printf("now the local not add\n"); } else { printf("now the local added\n"); } return 0; }

浙公网安备 33010602011771号