37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
#ifndef KITTY_WIN
|
|
#define KITTY_WIN
|
|
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <windows.h>
|
|
|
|
void SetTransparency( HWND hwnd, int value ) ;
|
|
void GetOSInfo( char * version ) ;
|
|
BOOL IsWow64() ; // Test si on est en Windows 64 bits
|
|
int OpenFileName( HWND hFrame, char * filename, char * Title, char * Filter ) ;
|
|
int OpenDirName( HWND hFrame, char * dirname ) ;
|
|
int SaveFileName( HWND hFrame, char * filename, char * Title, char * Filter ) ;
|
|
|
|
// Centre un dialog au milieu de la fenetre parent
|
|
void CenterDlgInParent(HWND hDlg) ;
|
|
|
|
// Envoi vers l'imprimante
|
|
int PrintText( const char * Text ) ;
|
|
|
|
// Impression du texte dans le bloc-notes
|
|
void ManagePrint( HWND hwnd ) ;
|
|
|
|
// Met un texte dans le press-papier
|
|
int SetTextToClipboard( const char * buf ) ;
|
|
|
|
// Execute une commande
|
|
void RunCommand( HWND hwnd, const char * cmd ) ;
|
|
|
|
// Démarre l'éditeur embarqué
|
|
void RunPuttyEd( HWND hwnd, char * filename ) ;
|
|
|
|
// Verifie si une mise a jour est disponible sur le site web
|
|
void CheckVersionFromWebSite( HWND hwnd ) ;
|
|
|
|
#endif
|