/[Sims3RigEditor]/trunk/gr2lib_cpp/guicon.cpp
ViewVC logotype

Diff of /trunk/gr2lib_cpp/guicon.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib_cpp/guicon.cpp	2010/08/11 10:59:40	54
+++ trunk/gr2lib_cpp/guicon.cpp	2010/08/12 08:37:47	55
@@ -13,9 +13,9 @@
 using namespace std;
 #endif
 
-bool AttachConsole_()
+int AttachConsole_()
 {
-	bool _AttachConsole = AttachConsole(ATTACH_PARENT_PROCESS);
+	int _AttachConsole = AttachConsole(ATTACH_PARENT_PROCESS);
 	if (!_AttachConsole) return _AttachConsole;
 
 	int hConHandle;
@@ -46,9 +46,9 @@
 	printf("\n");
 	return _AttachConsole;
 }
-bool AttachConsole_(int dwProcessId)
+int AttachConsole_(int dwProcessId)
 {
-	bool _AttachConsole = AttachConsole(ATTACH_PARENT_PROCESS);
+	int _AttachConsole = AttachConsole(dwProcessId);
 	if (!_AttachConsole) return _AttachConsole;
 
 	int hConHandle;
@@ -79,7 +79,7 @@
 	printf("\n");
 	return _AttachConsole;
 }
-bool FreeConsole_()
+int FreeConsole_()
 {
 	return FreeConsole();
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22