Created
March 30, 2009 09:41
-
-
Save cosmin/87713 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Show a hidden Altiris Client Service, worked against older versions. | |
#include <stdio.h> | |
#include <windows.h> | |
int main( void ) | |
{ | |
HWND hWnd; | |
char szWindowName[] = "Altiris Client Service"; | |
printf( "Finding window %s\n", szWindowName ); | |
hWnd = FindWindow( NULL, szWindowName ); | |
if ( hWnd == NULL ) | |
{ | |
printf( "ERROR! Could not find window %s\n", szWindowName ); | |
exit( 1 ); | |
} | |
ShowWindow( hWnd, SW_SHOW ); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment