예제 #1
0
 public static uint GetLastError()
 {
     if (cMain.isComPuter)
     {
         return(PcApi.GetLastError());
     }
     else
     {
         return(CeApi.GetLastError());
     }
 }
예제 #2
0
 public static int FindWindowW(string lpClassName, string lpWindowName)
 {
     if (cMain.isComPuter)
     {
         return(PcApi.FindWindowW(lpClassName, lpWindowName));
     }
     else
     {
         return(CeApi.FindWindowW(lpClassName, lpWindowName));
     }
 }
예제 #3
0
 public static int ShowWindow(int hWnd, int nCmdShow)
 {
     if (cMain.isComPuter)
     {
         return(PcApi.ShowWindow(hWnd, nCmdShow));
     }
     else
     {
         return(CeApi.ShowWindow(hWnd, nCmdShow));
     }
 }