Casio PA-2400W Manual Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 83
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
30
if (hWnd == 0) // Check whether values returned by CreateWindow() are valid.
return (FALSE);
if (lsWindow(hWnd) != TRUE)
return (FALSE);
return(TRUE); // Window handle hWnd is valid.
}
// ****************************************************************************************//
// WinMain //
// ****************************************************************************************//
int WINAPI WinMain( HINTANCE hInstance.
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int ncmdShow)
{
MSG msg;
HWND hWnd;
long lResult;
HKEY hKeyResult;
TCHAR TsrName[] = TEXT(“SipTsr.exe”);
if ( hWnd = FindWindow( ClassName, NULL)) {
SIP_ExecutePanel( TEXT(“”));
return FLASE;
}
if (hPrevInstance == 0) {
if (InitApplication(hInstance) == FALSE)
return(FALSE);
}
if (InitInstance(hInstance, nCmdShow) == FALSE)
return(FALSE);
lResult = RegOpenKeyEx( HKEY_LOCAL_MACHINE, // Open Registry
TEXT( “Software\\Apps\\SIPManager”),
0, KEY_WRITE, &hKeyResult);
if ( lResult != ERROR_SUCCESS)
return(FALSE);
lResult = RegSetValueEx( hKeyResult, // Write Registry
TEXT( “SIPExeName”), 0, REG_SZ,
( unsigned char *)TsrName , sizeof( TsrName));
if ( lResult !=ERROR_SUCCESS)
return(FALSE);
RegCloseKey( hKeyResult); // Close Registry
While (GetMessage(&msg, NULL, 0, 0) == TRUE) {
DispatchMessage (&msg);
}
return TRUE;
}
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 82 83

Comentarios a estos manuales

Sin comentarios