Ejemplo n.º 1
0
	function  initFFI(){
		self::$ffi=new ffi (
			"[lib='user32.dll']
				int MessageBoxA( 
					uint32	handle,
					char	*text,
					char	*caption,
					uint32	type
				);
				uint32 GetForegroundWindow( );
				uint32 AnyPopup( );
				uint32 GetDoubleClickTime( );
			" );
	}