Win32OperatingSystem.st
changeset 15877 a752f474d7a2
parent 15874 9441ca0da881
child 15923 6bc82606b914
child 18115 26ac4840e5d0
--- a/Win32OperatingSystem.st	Tue Dec 17 17:46:34 2013 +0100
+++ b/Win32OperatingSystem.st	Tue Dec 17 17:47:26 2013 +0100
@@ -10837,17 +10837,17 @@
 
     h_Process = GetCurrentProcess();
     if (OpenProcessToken(h_Process,TOKEN_READ,&h_Token) == FALSE) {
-	printf("Error: Couldn't open the process token\n");
+	console_printf("Error: Couldn't open the process token\n");
 	goto getOutOfHere;
     }
     if (GetTokenInformation(h_Token,TokenElevation,&t_TokenElevation,sizeof(t_TokenElevation),&dw_TokenLength) == FALSE) {
-	printf("Error: Couldn't retrieve the elevation right of the current process token\n");
+	console_printf("Error: Couldn't retrieve the elevation right of the current process token\n");
 	CloseHandle(h_Token);
 	goto getOutOfHere;
     }
     if (t_TokenElevation.TokenIsElevated != 0) {
 	if (GetTokenInformation(h_Token,TokenElevationType,&e_ElevationType,sizeof(e_ElevationType),&dw_TokenLength) == FALSE) {
-	    printf("Error: Couldn't retrieve the elevation token class\n");
+	    console_printf("Error: Couldn't retrieve the elevation token class\n");
 	    CloseHandle(h_Token);
 	    goto getOutOfHere;
 	} else {
@@ -17487,15 +17487,15 @@
 !Win32OperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.487 2013-12-17 16:42:20 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.488 2013-12-17 16:47:26 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.487 2013-12-17 16:42:20 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.488 2013-12-17 16:47:26 cg Exp $'
 !
 
 version_SVN
-    ^ '$Id: Win32OperatingSystem.st,v 1.487 2013-12-17 16:42:20 cg Exp $'
+    ^ '$Id: Win32OperatingSystem.st,v 1.488 2013-12-17 16:47:26 cg Exp $'
 
 ! !