public static uint GetLastError() { if (cMain.isComPuter) { return(PcApi.GetLastError()); } else { return(CeApi.GetLastError()); } }
public static int FindWindowW(string lpClassName, string lpWindowName) { if (cMain.isComPuter) { return(PcApi.FindWindowW(lpClassName, lpWindowName)); } else { return(CeApi.FindWindowW(lpClassName, lpWindowName)); } }
public static int ShowWindow(int hWnd, int nCmdShow) { if (cMain.isComPuter) { return(PcApi.ShowWindow(hWnd, nCmdShow)); } else { return(CeApi.ShowWindow(hWnd, nCmdShow)); } }